mark_emails
Mark emails as read or unread in single or multiple accounts, supporting batch operations with folder customization and validation options.
Instructions
Mark one or more emails as read or unread. Pass account_id when operating within a single account, or provide email_accounts mapping for mixed-account batches.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| email_ids | Yes | List of email IDs to mark | |
| mark_as | Yes | Mark emails as 'read' or 'unread' | |
| folder | No | Email folder (default: 'INBOX') | INBOX |
| account_id | No | Specific account ID (recommended; required when not using email_accounts) | |
| dry_run | No | If true, only validate without executing (default: false) | |
| email_accounts | No | Optional per-email account mapping for multi-account operations |