archive_email
Remove a Gmail message from the inbox without deleting it; archived emails remain searchable and accessible.
Instructions
Archive an email — removes it from INBOX without deleting it.
Archived emails are still searchable and accessible via search.
Required:
message_id (str) — Gmail message ID from list_emails.
Returns on success:
{"message_id": "...", "labels": ["IMPORTANT", "SENT"]}}
(INBOX is removed from labels)
Workflow note: This is non-destructive. The email stays in Gmail
with all other labels intact. Use list_emails(query="is:inbox")
to confirm it's gone from the inbox view.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message_id | Yes |