send_email
Compose and send emails via Fastmail, defining recipients, subject, HTML/plain-text content, attachments, and optional CC/BCC or reply chains.
Instructions
Send an email
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | CC email addresses (optional) | |
| to | Yes | Recipient email addresses (array of strings, or a comma-separated string) | |
| bcc | No | BCC email addresses (optional) | |
| from | No | Sender email address (optional, defaults to account primary email) | |
| replyTo | No | Reply-To email addresses (replies go here instead of to the sender) | |
| subject | Yes | Email subject | |
| htmlBody | No | HTML body (optional) | |
| textBody | No | Plain text body (optional) | |
| inReplyTo | No | Message-ID(s) of the email being replied to (optional, for threading) | |
| mailboxId | No | Mailbox ID to save the email to (optional, defaults to Drafts folder) | |
| references | No | Full reference chain of Message-IDs (optional, for threading) | |
| attachments | No | Files to attach. Each entry must use EXACTLY ONE source: localPath (a file inside the configured download directory), emailId + attachmentId (re-attach an attachment from an existing email — no bytes are copied), or blobId (an already-uploaded JMAP blob). Optional name/type override the inferred filename and MIME type. |