archive_emails
Move selected emails to the archive folder, automatically detected via RFC 6154, to keep your inbox organized.
Instructions
Archive one or more emails by moving them to the account's Archive folder, auto-detected via the RFC 6154 \Archive flag (falling back to common names like Archive or [Gmail]/All Mail). Use list_emails_metadata first to get the email_id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mailbox | No | The source mailbox containing the emails. | INBOX |
| email_ids | Yes | List of email_id to archive (obtained from list_emails_metadata). | |
| account_name | Yes | The name of the email account. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |