Skip to main content
Glama

send_email_reply

Create a draft reply to a Gmail email for user review and confirmation before sending.

Instructions

Create a draft reply to an email. This tool creates a draft reply to the specified email with the provided text. The draft is saved but NOT sent automatically - user confirmation is required. Prerequisites: - The user must be authenticated. Check auth://status resource first. - You need an email ID, which can be obtained from list_emails() or search_emails() - You should use prepare_email_reply() first to get context for crafting a personalized reply Args: email_id (str): The ID of the email to reply to. reply_text (str): The text of the reply. include_original (bool, optional): Whether to include the original email in the reply. Defaults to True. Returns: Dict[str, Any]: The result of the operation, including: - success: Whether the operation was successful - message: A message describing the result - draft_id: The ID of the created draft - confirmation_required: Always True to indicate user confirmation is needed Example usage: 1. First check authentication: access auth://status resource 2. Get a list of emails: list_emails() 3. Extract an email ID from the results 4. Prepare a reply: prepare_email_reply(email_id="...") 5. Create a draft reply: send_email_reply(email_id="...", reply_text="...") 6. IMPORTANT: Always ask for user confirmation before sending 7. After user confirms, use confirm_send_email(draft_id='" + draft["id"] + "') IMPORTANT: You must ALWAYS ask for user confirmation before sending any email. Never assume the email should be sent automatically.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
email_idYes
reply_textYes
include_originalNo

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/bastienchabal/gmail-mcp'

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