Email and RSS Triggers for Automations
An email trigger or an RSS trigger starts work in a Space from an inbound message or a feed update. Both use New automation → Trigger and require instructions before creation. The automation decides which messages or actions are useful. Existing legacy sources remain under Synced events.
A new email or RSS automation uses graph stages. Each email or feed item starts a run:
- An agent stage follows your instructions, with the email or feed item as its input.
- A code stage records the agent’s result:
completedorno_results, with a short summary.
You can later change the automation to use code, agent work, or both. See With code.
Email triggers
Section titled “Email triggers”Type.com does not make an inbound email address automatically when you make a Space. Create an inbound email address before you send email to the Space.
Create an email address
Section titled “Create an email address”- Open the Automations page of the Space. If the page is in settings in your layout, open Space settings → Automations.
- Select New automation, then choose Email in Trigger.
- Select the destination channel and enter an email username.
- Write the required instructions describing how to handle incoming email, then select Create automation.
- Copy the full address from the automation editor.
- Optionally send a test email and select Check receipt in the automation editor. An enabled automation can take actions on that email; no test email is required to finish setup.
In the CLI, run type-cli automations create --space <space> --source email --username <local-part> --instructions "Triage incoming mail" --enable. Without --enable, the CLI creates the automation paused.
Email model settings
Section titled “Email model settings”For an email source under Synced events, choose a model in the email source editor and save the changes. Reopening the source shows the saved choice. Future incoming emails use that model, including replies in existing email threads. A retried delivery keeps the model already chosen for that delivery.
Select Agent default to follow the Space agent’s current default model for future emails. Existing email sources without a saved selection keep their existing behavior until you choose a model or explicitly save Agent default.
These email sources use platform credentials. Personal model subscriptions and Fast mode are unavailable for them. The editor’s private Test uses the same model and credential policy; it does not verify live email delivery.
Change or remove the address
Section titled “Change or remove the address”- A Space can have one inbound email address.
- You cannot change the destination after you create the address. To change the destination, remove the email source from its menu. Then create the email source again with the new destination.
- When you remove the email source, Type stops future delivery through that address. Type does not delete existing Type messages.
- After you create the email source again, give the new address that Type shows to your senders. Also change your forwarding rules to the new address.
Send email from the address
Section titled “Send email from the address”On a paid Type plan, an agent can send a new email from the Space’s email address. Ask it in the Space, for example: “Email ada@example.com the summary of this thread.” The agent uses the send_email tool.
- The email comes from the Space’s address and is plain text.
- Type opens a new thread in the Space for the email. Replies from recipients arrive in that thread, including when an email automation handles the address. When you reply in the thread, Type sends your reply to the original To and CC recipients.
- An email can have up to 10 recipients, counting To and CC.
- A workspace can send up to 100 emails per day.
- The Space must already have an email address. See Create an email address.
- Sending is not available on trials or plans that are past due or canceled. The agent tells you to upgrade in Settings → Billing.
- An agent cannot send new email from inside an email thread, because people outside your workspace can start those threads. It can still reply in the thread.
Type does not retry a send. A missing thread does not prove that the email was not sent: Type can send the email and then fail to create its thread, and an error can leave the result unknown. Before you ask the agent to send again, check with the recipients or look for their reply.
To answer an email that started the conversation, the agent replies to it instead of sending a new email.
When to use email
Section titled “When to use email”- Requests from vendors or customers.
- Forwarded alerts.
- Intake from tools that can send email but cannot send webhooks.
RSS triggers
Section titled “RSS triggers”An RSS trigger monitors a feed. When the feed has new posts, the automation runs for each new post, for example to summarize it or react to it.
Use RSS for:
- Product changelogs.
- Competitor blogs.
- News feeds.
- Public job posts or release notes.
Feed URL rules
Section titled “Feed URL rules”An RSS feed URL must be a public HTTP or HTTPS URL. Type blocks localhost, private network, link-local, metadata, and internal hostnames.
Create an RSS automation
Section titled “Create an RSS automation”Open Automations → New automation, choose RSS in Trigger, enter the feed URL and required instructions, then select Create automation. Inspect incoming events and results in the automation editor. No sample feed item or generated message component is required.
Type.com checks the feed about every 15 minutes. In the CLI, --poll-minutes sets another interval from 5 to 1,440 minutes:
type-cli automations create --space <space> --source rss --url <feed-url> --poll-minutes 30 \ --instructions "Summarize new entries" --enableRecover a disabled RSS feed
Section titled “Recover a disabled RSS feed”Type.com disables an RSS feed after five consecutive fetch errors. If the feed returns HTTP 410 Gone, Type disables it immediately. Type does not poll a disabled feed. These failures are feed-fetch failures. They are different from failures in a response of the managed agent.
- Open the Automations page of the Space. Find the RSS source. The source shows Disabled or Paused. The label depends on the view.
- Open the feed URL in a browser or a feed reader. Make sure that the URL still serves a public RSS or Atom feed.
- If the publisher returned 410, find a replacement feed URL.
- If the same URL works, open the menu of the source and select Resume task. Or turn the enable control of the source on again. This clears the saved fetch-error count and message.
- If the URL changed, remove the old RSS source. Then add a new RSS source with the replacement URL. A change to the instructions does not change the saved feed URL.
- After the next poll, examine the receipt and automation run history. A channel post appears only if the automation chooses to send one.
With code
Section titled “With code”A code subscription can use an email or RSS source that an automation created. Use an event_source source with the source ID (ches_...). type-cli automations create --json returns it as sourceId.
source: { kind: "event_source", sourceId: "ches_example", events: ["agentmail.message.received"], // or ["rss.entry.received"]},| Source | Event | data fields |
|---|---|---|
agentmail.message.received | inboxId, threadId, from, to, subject, text, html, timestamp | |
| RSS | rss.entry.received | feedTitle, feedUrl, and item with guid, title, description, link, pubDate, author |
- Name the event exactly. Wildcards are not supported for these sources.
- The source must be in the automation’s Space, and enabled. You cannot subscribe to a source under Synced events; it keeps its old delivery.
idis the email message ID or the feed itemguid. These values can contain characters that effect keys do not allow. Effect keys can use only letters, digits, and.,_,:,/,-.
Limitations
Section titled “Limitations”- Outbound email does not support HTML or attachments.
- A private test in the editor does not verify an email address or feed availability. Test real email and feed delivery separately. See Test Automations.
- RSS feeds are checked on a poll interval, so new posts can take up to that interval to arrive.