Actions16
Inbox → Star
AI-generatedSummary
Star or unstar inbox emails
Inputs
- emailIds (required) — Comma-separated list of email IDs
- flagged — Whether to star (true) or unstar (false)
Output shape
Mailat API data response (updated email records)
POST /inbox/toggle-flag with trimmed email ID array and boolean flag; returns the Mailat-wrapped {code, message, data} data field.
Examples
Example 1: Star three emails
emailIds: 'abc123,def456,ghi789', flagged: true
Example 2: Unstar one email
emailIds: 'abc123', flagged: false