Overview
The email notification tools read and change your team’s email notification settings. They use the same logic as the REST List Notification Settings and Update Notification Setting endpoints. All tools supportresponse_format (markdown or json).
Notification types without a saved team setting are returned with
is_active: true. The campaign-submission-approved type emails the partner after you approve a campaign submission. Disabling it does not affect earning creation.Available Tools
affonso_list_email_notifications
List all email notification types with your team’s settings, includingcampaign-submission-approved. Same as GET /v1/program/notifications.
Parameters
string
default:"markdown"
Response format:
markdown or jsonExample Prompts
Response
id is null when your team has not saved a setting for the type and the defaults apply.affonso_update_email_notification
Enable, disable, or customize one email notification for your team. Same asPATCH /v1/program/notifications/{emailTypeId}. Use the email_type_id returned by affonso_list_email_notifications. If your team has no saved setting for the type yet, one is created.
Parameters
string
required
Notification type ID returned by the list tool, for example
campaign-submission-approvedboolean
Enable or disable this email for your team
string | null
Custom email subject. Maximum 20,000 characters. Pass
null to restore the default.string | null
Custom email body. Maximum 20,000 characters. Pass
null to restore the default.string
default:"markdown"
Response format:
markdown or json