Ian On Docs
Admin console

Delivery, Messengers, and Email assistant

The company-wide switches behind outbound delivery, the Discord bot, and the Gmail assistant.

Delivery, Messengers, and Email assistant in Admin are the company-wide switches that connect Ian On to outside services. This is where you decide what's allowed before individuals turn anything on for themselves.

Only people with the Owner or Admin role can configure these screens. If Delivery, Messengers, or Email assistant is missing from the Admin menu, check that Delivery, Messenger Bots, and Email Assistant are on under Add-on features in Admin → Features. All three start off. The email assistant works only when both that feature and Enable Gmail assistant below are on.

Outbound delivery (Delivery)

Admin → Delivery governs how results leave Ian On. Use the tabs at the top to move between Delivery connections, Delivery rules, Gmail delivery policy, Installed plugins, and Plugin marketplace.

  • Personal-account override policy in Delivery connections — for Gmail and Notion separately, decide whether members may send deliveries through their personal accounts. It starts as Currently blocked. Even when you allow it, an active organization connection is used first. (This is about delivery channels — the Gmail assistant has its own switch under Email assistant below.) Allowing the override doesn't connect any accounts automatically. Members must connect their personal account and agree to its use themselves, and connections are used in this order: team organization connection → organization-wide connection → personal account.
  • Current organization connections in Delivery connections — see the delivery connections your organization shares (organization-wide or team-scoped) and their status, and Enable, Disable, or Delete them.
  • Delivery rules — the automatic sending engine. When Work finishes, a rule can route its result to a delivery channel automatically. Personal Work is never sent by any rule. A rule a member created sends team Work only while its creator still belongs to that team. Older rules with no recorded creator skip this check. Each rule has filters (team, agent, tag, artifact path) and a Test that shows how many pieces of Work completed in the last 7 days match the filters. The test only counts filter matches and never actually sends anything, and passing it doesn't mean permission and authentication checks will pass too. If there are too many completed records to check them all, it tells you so. If the account of the person who created a rule is deleted, the rule is turned off.
  • Gmail delivery policy — the allowlist of recipient domains. Until you add at least one allowed domain, Gmail delivery is off, so mail can't reach unintended recipients. To save an empty allowlist you must tick a confirmation box, and once you save, Gmail sending stops until you add a domain again.
  • Installed plugins and Plugin marketplace — manage delivery plugins. In Plugin marketplace, you can install only plugins from the registry your organization has approved: check the permissions in Review required scopes, then click Allow and install. In Installed plugins, you Enable or Disable a plugin, Check for updates, Edit configuration, and Remove it. When you Remove a plugin, Also delete connections associated with this plugin is selected by default, so removing it as is also erases that plugin's organization and personal connections and members' consents. To pause a plugin for a while, use Disable.

Discord bot (Messengers)

Admin → Messengers is where you set up the Discord bot behind the /ian command. Create an application in the Discord Developer Portal, then enter its Public Key, Application ID, and Bot Token on this screen and click Save. To register the commands on one server only, also enter the Guild ID (leave it blank to register them everywhere). Next, click Register commands, and paste the Interactions Endpoint URL shown on screen (a public HTTPS address) into the Discord Developer Portal. The full steps are in the on-screen Setup guide. Once the bot is ready, each member links their account with /ian link and then uses /ian ask and /ian report.

Gmail assistant (Email assistant)

Admin → Email assistant is the master switch for the Gmail assistant. Three things live here.

  1. Enable Gmail assistant — on or off for the whole organization. When it's off, nobody can connect Gmail, and checking of connected inboxes stops.
  2. OAuth Client ID and OAuth Client Secret — the values of your company's Google OAuth app, used when members connect Gmail. A saved secret is never shown again; it appears only as Saved. In the Google OAuth app, register a redirect URI made of your company's Ian On address followed by /api/email/oauth/callback.
  3. Polling schedule (cron) — a cron expression for how often Ian On checks connected inboxes for new mail. Leave it blank to check every minute. A changed schedule takes effect after the server restarts.

Once you turn it on here, members connect their own Gmail in Settings.

On this page