trash_email
Move a Gmail message to trash using its message ID; trashed emails are auto-deleted after 30 days.
Instructions
Move an email to trash. Emails in trash are auto-deleted after 30 days.
Required:
message_id (str) — Gmail message ID from list_emails.
Returns on success:
{"message_id": "...", "labels": [..., "TRASH"]}}
Workflow note: To permanently delete, trash the email first —
Gmail auto-purges trash after 30 days.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message_id | Yes |