Skip to main content
Glama

update_draft

Replace an existing draft email with new content, including recipients, subject, and body, while maintaining it in the Drafts folder.

Instructions

Replace an existing draft with new content. The id must refer to an email in the Drafts folder — this tool cannot modify emails in other folders. Returns {id, subject, to, date} of the updated draft.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesID of the existing draft to replace.
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).

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