Draft Email
draft_emailUse search_emails or search_linkedin_message_history to find email addresses for prior correspondents. For new contacts whose email you don't have, use find_email. Dict with success, draft_id, provider, and draft details (to, cc, bcc, subject, body)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | Optional list of CC recipients, same format as "to" | |
| to | Yes | List of To recipients. Each is an object with required "email" and optional "name" key. ALWAYS pass a list (even for a single recipient), and ALWAYS pass dicts (not bare strings). Examples: - With name: [{"email": "alice@acme.com", "name": "Alice Smith"}] - Without name: [{"email": "alice@acme.com"}] | |
| bcc | No | Optional list of BCC recipients, same format as "to" | |
| body | Yes | Email body in Markdown, rendered to HTML at send time for every provider (Gmail, Outlook, Superhuman). Write hyperlinks as [text](url) so the link reads as its anchor text. A bare or parenthesized URL left in the text is usually autolinked by the mail client, so it still clicks through — it just shows the raw URL instead of a label, which is what users mean when they say a link "isn't hyperlinked". Single newlines are preserved as line breaks. | |
| mailbox | No | Email address of a connected mailbox (e.g. 'alice@acme.io'). Omit to use the user's default mailbox. When the user has multiple mailboxes connected, ask which to use rather than guessing — surfacing the choice is the agent's job. | |
| subject | Yes | Email subject line |