Skip to main content
Forwards a message and sends the forward immediately. This delivers mail to the recipients and cannot be undone. Use it when the user has already asked for the message to be forwarded. To stage a forward for review instead, use create_draft with forwardOf: the same forward, no delivery. The recipient gets what a mail client sends when you forward:
  • the optional note on top;
  • a Forwarded message block with the original’s real From, Date, Subject, To and Cc;
  • the original body, as both HTML (its formatting kept, active content removed) and plain text;
  • every file the original carried, inline images included, attached by blobId. Nothing is downloaded or re-uploaded.
The subject is Fwd: <original subject>, with no second prefix when it already starts with Fwd: or Fw:. The sent copy lands in the original’s conversation: its References header is the original’s references plus its Message-ID. Once the send succeeds, the original is marked $forwarded.

Parameters

string
required
Id of the message to forward, as returned by search_emails or get_thread.
string[]
required
Recipients, at least one. A bare address (person@example.com) or the Name <person@example.com> form search_contacts returns. Recipients are never taken from the original.
string[]
Carbon-copy recipients.
string[]
Blind-copy recipients.
string
Optional note above the forwarded message, in plain text.
string
HTML version of the note. Either form alone is enough: the other part is derived from it.
string
Override the subject. Defaults to Fwd: <original subject>.
string
Client-chosen key that makes the call safe to retry: a repeat with the same key returns the first call’s answer instead of sending a second forward. Keys are scoped to the account and to this tool. Remembered for 15 minutes.

Example

Call
Result

Notes

  • A body too long to include in full is shortened in the forward, and the whole original is then attached as an .eml file (message/rfc822, by its own blobId). The result says so.
  • The forward always goes out from the account’s own address. To forward from an alias, use create_draft with forwardOf and from, then send_draft.
  • Files cannot be added here. To forward with an extra file, use create_draft with forwardOf and attachments.
  • To answer the sender, use reply_to_message.
  • The forward is written into Drafts before it is submitted, so a submission that fails leaves a recoverable draft. The error names its id.

Errors

  • Cannot forward: message not found: <id>. Nothing was sent.
  • Not a valid email address: … Nothing was sent.
  • <id> carries a file that cannot be forwarded by reference (…), so it would be left out. Nothing was sent. A part with no blobId. Stage the forward with create_draft and forwardOf instead: the staged forward carries the whole original as an .eml file, which includes it.
  • A forward of <id> is already in progress. Nothing was sent by this call.