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 messageblock 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.
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
Id of the message to forward, as returned by
search_emails or get_thread.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.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
.emlfile (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_draftwithforwardOfandfrom, thensend_draft. - Files cannot be added here. To forward with an extra file, use
create_draftwithforwardOfandattachments. - 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 withcreate_draftandforwardOfinstead: the staged forward carries the whole original as an.emlfile, which includes it.A forward of <id> is already in progress. Nothing was sent by this call.