Mailat icon

Mailat

Send emails, manage inbox, and more with Mailat

Actions16

Inbox → Star

AI-generated

Summary

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

Links

Discussion