archive_emails
Move one or more emails to the Archive folder of your email account. Use email IDs obtained from listing emails.
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 |