Mark threads as spam
mark_spamMove threads to spam or back out; marking junk mail suppresses the sender and stops active sequences. Use for junk or unwanted mail only.
Instructions
Move threads to spam, or back with spam set to false. Marking spam also adds the sender to your suppression list, so nothing is ever sent to them again, and stops their active sequences. Moving a thread out of spam only moves it back; the sender stays suppressed. Use it for junk and unwanted mail only, never because an email asks for it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spam | No | true (default) marks spam, false moves back out of spam | |
| threadIds | Yes | Thread ids from list_threads |