Send a new email
send_emailWrites and sends an email to someone, and opens the thread their answer will land in. The text goes out as given, so this is the tool for a message a person has read and approved. With "send_at" it is scheduled instead: nothing leaves until then, and list_scheduled_sends shows it waiting.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | Who else receives it, in copy. Everyone on the mail sees these. | |
| to | Yes | Who it is written to. The thread is filed under the first of them. | |
| bcc | No | Who else receives it without the others being told. A blind copy is kept on the sending alone: the thread records the visible recipients only. | |
| body | Yes | The text of the message, as the contact will read it. Plain text, in their language. | |
| from | Yes | The address to send from: one of the account inbound addresses, or one of the other names of a mailbox, which is what brings the answer back into that mailbox. Call list_sender_addresses to find them, aliases included. | |
| send_at | No | When it should leave, if not now: a date and time with its offset, such as "2026-10-12T08:30:00+03:00", at most a year ahead. Without an offset it is read in the zone of the person this connection acts for. Left out, it leaves at once. | |
| subject | Yes | The subject line, up to 255 characters. | |
| attachments | No | Files to send along, up to 10 and 7 MiB in total. Each one is named EITHER by "upload_id", a file already pushed to a slot from create_attachment_upload, OR inline by "filename" and "content_base64". Prefer the upload for anything but a few lines of text: a file written out as base64 has to be produced character by character, which a real document overruns long before the 7 MiB cap. | |
| contact_name | No | The name of the recipient, recorded on their fiche when we open one. |