Outlook
Email Mark Spam
Move one email to the spam folder in a connected Gmail/Outlook account.
Endpoint
Parameters
| Name | Type | Required | Note |
|---|---|---|---|
| senderstring · required | string | required | Connected email account identifier — typically the email address of the account (e.g. "you@company.com"). Must be a connected account in the workspace. Example: |
| emailstring · required | string | required | The other party's email address used to locate the specific email to report as spam (e.g. the sender's address). The email is moved to the SPAM folder. |
Response schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"providerId"
],
"properties": {
"note": {
"type": "string"
},
"status": {
"enum": [
"success",
"failed"
],
"type": "string"
},
"providerId": {
"type": "string"
}
},
"additionalProperties": false
}