send_gmail_message
Send emails directly from your Gmail account by specifying recipient, subject, and message body. Confirms delivery with the sent email's message ID.
Instructions
Sends an email using the user's Gmail account.
Args:
to (str): Recipient email address.
subject (str): Email subject.
body (str): Email body (plain text).
user_google_email (str): The user's Google email address. Required.
Returns:
str: Confirmation message with the sent email's message ID.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
body | Yes | Email body (plain text). | |
service | Yes | ||
subject | Yes | Email subject. | |
to | Yes | Recipient email address. | |
user_google_email | Yes |
Input Schema (JSON Schema)
{
"properties": {
"body": {
"description": "Email body (plain text).",
"title": "Body",
"type": "string"
},
"service": {
"title": "service",
"type": "string"
},
"subject": {
"description": "Email subject.",
"title": "Subject",
"type": "string"
},
"to": {
"description": "Recipient email address.",
"title": "To",
"type": "string"
},
"user_google_email": {
"title": "User Google Email",
"type": "string"
}
},
"required": [
"service",
"user_google_email",
"to",
"subject",
"body"
],
"title": "send_gmail_messageArguments",
"type": "object"
}