mark_emails
Mark emails as read or unread across single or multiple accounts. Manage email status in folders like INBOX for organized inbox management.
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 |