messages_send_email
Compose and send an email — with subject, CC/BCC, and attachments. Use for email; for chat messages (Telegram/WhatsApp/livechat) use messages.send instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | Email addresses to CC. OMIT to skip. | |
| bcc | No | Email addresses to BCC. OMIT to skip. | |
| text | No | Email body. | |
| subject | No | Email subject line. Required for new emails; for replies it auto-generates 'Re: ...' when omitted. | |
| attachments | No | Array of integer file IDs to attach. | |
| in_workspace | No | Run this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected. | |
| from_account_id | No | Which of the workspace's mailboxes SENDS an email to recipient_email (an id from channels.list). With several mailboxes and none named, an address one mailbox already writes with goes from that mailbox, any other is refused with the list. A mailbox outside the workspace is refused, never swapped. A reply in the current thread (no recipient_email) goes from that thread's mailbox. | |
| recipient_email | No | Recipient email address (e.g. 'john@example.com'). Provide to start a new email thread; OMIT to reply in the current email thread. |