archive_emails
Move email messages to the account's Archive folder using their email IDs. Get IDs from list_emails_metadata, then archive them in bulk.
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. Partial or ambiguous effects report per-ID succeeded/failed/unknown status and are not retried automatically.
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 |