Keep trusted sender rules current
Record a contact change in Notion and let Notis remove the obsolete AgentMail rule tied to that sender.
Trigger
Page Created
Triggers when a new Notion page is created. Customer optionally scopes with at most one of: - data_source_id: new row in this data source - parent_page_id: new sub-page under this page (immediate parent only) With neither set, fires for any new page in the workspace the integration has access to. Notion sends ~60s aggregation latency on most events.
Action
Remove Allow/Block Rule
Remove an email address or domain from an allow or block list.
Why this helps
Old sender exceptions accumulate when removing them depends on remembering a later maintenance task.
- Keep sender rules aligned with current relationships.
- Reduce the pile of deferred inbox housekeeping.
- Make contact retirement easier to complete consistently.
Setup
Build it in a few focused steps.
- 1Connect Notion and AgentMail to Notis once through the portal.
- 2Create an automation in the portal or ask Notis conversationally to remove the AgentMail rule for a contact marked retired in Notion.
- 3Use one plain-language instruction to explain how a retired contact is identified and which address or domain to remove.
- 4Select the Notion Page Created trigger and choose a channel for run reports.
- 5Test with one real retirement record and confirm the intended rule was removed.
Questions about this workflow
Can this remove either an allow or block rule?
The AgentMail action removes an allow or block rule for an email address or domain.
What if a contact page is merely edited?
This setup uses a page creation trigger. Use a suitable update trigger if the retirement status is recorded by changing an existing page.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Notion to AgentMail. A trigger fires from one place; an action lands in another.
Notion triggers
AgentMail actions
Recurring trigger
Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.
Add Allow/Block Rule
Add an email address or domain to an allow or block list for your mail.
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
List Your Email Inboxes
List the email inboxes you own (address, state).
All Page Events
Triggers when any Notion page is created or updated across the workspace.
Update Email Message
Add or remove labels on a message; labels are the only mutable field.
Comment Created
Triggers when a new comment is created in Notion. Optional `page_id` filter scopes to comments on a specific page. When omitted, fires for any new comment in the workspace the integration has access to. Requires the 'Read comments' capability on the Notion integration. If a connection was authorized before that capability was enabled, the user must re-authorize the connection for comment events to flow.
Delete Email Message
Permanently delete one message from an inbox you own; this is not reversible.
New Comment
Triggers when a new comment is added to a specified Notion block or page.
Update Email Inbox
Change an inbox's display name (the address itself is immutable).
Database Created
Triggers when a new Notion database (the container) is created. A database is the post-2025-09-03 container that holds one or more data sources. This trigger fires for the container's creation event (`database.created`), distinct from `NOTION_DATASOURCE_CREATED` which fires when a new data source is added to an existing database. Most customers calling Notion's `POST /v1/databases` (the legacy API) or creating a database via the Notion UI will see this event. Adding a new data source to an existing database fires `data_source.created` instead — use `NOTION_DATASOURCE_CREATED` for that. Notion's payload puts `entity.type: "block"` (the container is a `child_database` block in the content tree) and `entity.id` is the database id.
Remove Allow/Block Rule
Remove an email address or domain from an allow or block list.
Data Source Created
Triggers when a new Notion data source is created. Fires workspace-wide. The payload's `data.parent` carries the data source's tree parent (typically the teamspace) for downstream filtering. A single template-based database creation can fire multiple `data_source.created` events at once — one per data source the template instantiates.
Data Source Schema Updated
Triggers when a Notion data source's schema is updated. Fires on column add / remove / rename. Payload includes `data.updated_properties: [{id, name, action}]` so consumers can discriminate the kind of change downstream. Optional `data_source_id` filter scopes to schema changes on a single data source. When omitted, fires for any schema change in the workspace the integration has access to. Note: adding a column also fires `page.properties_updated` once per existing row in the data source. Customers wanting a single structural-change signal should use this trigger.
Connect any two apps with Notis in the middle.
Notion and AgentMail, or any other combination from 1,000+ integrations.
When this happens · Trigger
Do this · Action
Save your first hour today.
7-day trial of any paid plan, with 20$ of usage included.
No card. Works with personal or business AgentMail.