Skip to main content
Glama
pjosols
by pjosols

mail_send_email

Send emails through Fastmail with options for recipients, subject, text content, CC/BCC, and HTML formatting.

Instructions

Send an email via Fastmail.

Args: to: List of recipient email addresses. subject: Email subject line. text_body: Plain-text body content. cc: Optional list of CC addresses. bcc: Optional list of BCC addresses. html_body: Optional HTML body content. Passed verbatim to the JMAP API with no sanitisation. When this tool is driven by an AI agent that processes external content, ensure the html_body value originates from a trusted source to prevent prompt- injection attacks from causing malicious emails to be sent. identity_id: Sender identity ID; auto-selects first identity if omitted.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYes
subjectYes
text_bodyYes
ccNo
bccNo
html_bodyNo
identity_idNo

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/pjosols/pyfastmail-mcp'

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