Gmail

Gmail_ReplyToEmail

Send a reply to an email message, optionally with one or more file attachments. To attach files, pass ``attachments`` and give each file's local path as a ``file://`` URI in ``source`` (formatted ``file:///absolute/path/to/file``). The file's bytes are read and substituted on the client before the request is sent, so the contents never pass through this conversation. Do not read, encode, or inline the bytes yourself.

Remote gmail

Remote (network-hosted)

Other tools also called Gmail_ReplyToEmail? See providers with this name

Input Schema


            {
  "type": "object",
  "properties": {
    "cc": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Additional CC recipients. When replying to every recipient, merged with CC from the original message; duplicates are removed (RFC-aware). Duplicates of the reply's To recipients are dropped from Cc (RFC-aware mailbox comparison). The authenticated user's own email address is removed from Cc on replies."
    },
    "bcc": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "BCC recipients of the email. The authenticated user's own email address is removed from Bcc on replies."
    },
    "body": {
      "type": "string",
      "description": "The body of the email, as plain text or HTML."
    },
    "attachments": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "source"
        ],
        "properties": {
          "source": {
            "type": "string"
          },
          "filename": {
            "type": "string"
          },
          "mime_type": {
            "type": "string",
            "description": "RFC 6838 media type in ``type/subtype`` form (e.g. ``application/pdf``).\n\n    Omitting it derives the type from the ``data:`` URI's media type."
          }
        },
        "additionalProperties": false
      },
      "description": "Files to attach. Give each file's local path as a URI in 'source' (formatted file:///absolute/path/to/file); the file's bytes are read and substituted on the client before the request is sent, so do not put base64 or file contents in 'source' yourself. 'filename' and 'mime_type' are optional and are taken from the file when omitted. Defaults to no attachments."
    },
    "content_type": {
      "enum": [
        "plain",
        "html",
        "auto"
      ],
      "type": "string",
      "description": "How the body is encoded on the wire. `auto` (default) sends as HTML and auto-converts plain-text input to paragraphs. `html` sends the body verbatim as HTML (use this when it contains entities or non-allow-listed tags); `plain` is plain text."
    },
    "reply_to_whom": {
      "enum": [
        "every_recipient",
        "only_the_sender"
      ],
      "type": "string",
      "description": "Whether to reply to every recipient (including cc) or only to the original sender. Defaults to 'GmailReplyToWhom.ONLY_THE_SENDER'."
    },
    "reply_to_message_id": {
      "type": "string",
      "description": "The ID of the message to reply to"
    }
  }
}
          

Provider

Gmail →