Skip to main content
Glama

create_draft

Create email drafts for new messages or threaded replies in your IMAP account's Drafts folder, with automatic header management for proper threading.

Instructions

Create a new email draft in the Drafts folder. Returns {id, subject, to, date} of the created draft. Optionally set in_reply_to with an email id to create a threaded reply draft (sets In-Reply-To and References headers automatically).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYesRecipient email address.
subjectYesEmail subject line.
bodyYesPlain text email body.
ccNoCC recipient(s).
bccNoBCC recipient(s).
in_reply_toNoID of the email being replied to (for threading). Automatically sets In-Reply-To and References headers.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/florianbuetow/imap-mini-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server