Skip to content
Docs

Mailboxes

A mailbox is an email address your workspace receives and sends mail through. An Email trigger node bound to a mailbox starts a run for every new message, and every email a Channel / Email node sends goes out from one of your mailboxes. The Mailboxes screen, in the Services group, lists every mailbox and is where you create, edit, and audit them, and where you choose the mailbox your workspace sends from.

This page describes the screen. For the step-by-step setup walk, see Connect a mailbox. For a complete inbound-email agent, see Build an email agent.

The Mailboxes list with Send mail from set to the Publicus inbox and New mailbox, the Collecting and Not collecting views, and each mailbox's type, copyable inbox address, message count and status with why under it
The Mailboxes list with Send mail from set to the Publicus inbox and New mailbox, the Collecting and Not collecting views, and each mailbox's type, copyable inbox address, message count and status with why under it
Column Shows
Name The name you gave the mailbox. Searchable. The workspace’s Send mail from mailbox says Sends this workspace’s mail under its name.
Type The mechanism behind it: forward, imap, connected, or smtp. A Publicus inbox is forward.
Address A Publicus inbox’s own address on publicus.email, or the address of a connected Microsoft mailbox read with app-only access. Copyable with one click.
Messages How many messages it has received and sent.
Status Whether the mailbox works, in a word, with why under it. See Status.
Created at When the mailbox was created. Hidden until toggled on.

Each mailbox shows one of these states, with a line under it that says why. The same word and line appear under the mailbox’s name on its page, and in search.

Status Means What to do
Needs reconnecting A connected mailbox whose connection needs someone to sign in again, or whose connection was deleted. The line names the connection and why. Reconnect the connection, or pick another one on the mailbox’s page.
Off Switched off, so it collects no mail and starts no flows. A mailbox that can send still sends. Switch Active on when you want its mail again.
Failing The last poll failed. The line says when and why, for example a folder that no longer exists or a password the server refused. Fix what the line names. The status clears with the next poll that works.
Never finished A Publicus inbox without an address, or a connected mailbox whose connection was never authorized. Finish the setup on the mailbox’s page.
Not checked yet An IMAP or connected mailbox no poll has got through for yet. A new mailbox shows this for its first minute. Wait a minute. If it stays, check the mailbox’s settings.
Working Mail arrived in the last 14 days. A mailbox that only sends, such as your own SMTP server, works when mail went out without an error. The line says when. Nothing.
Quiet Nothing for 14 days. The line says when the last mail came. Check the sender still writes to this address, or that the forwarding rule still exists.

A switched-off mailbox still shows Needs reconnecting when its connection does, because the same connection sends its mail. An SMTP mailbox receives nothing, so its switch stops nothing and it is never Off. A failed send does not show here: the mailbox’s Messages list shows each send and whether it went out.

Three preset views narrow the list. The first two are tabs; Connected accounts is in the views menu:

  • Collecting shows active mailboxes.
  • Not collecting shows mailboxes that are switched off. They read Off, and the flows behind them wait silently, so this view is worth checking when mail seems to stop.
  • Connected accounts shows mailboxes reached through an OAuth connection.

Each row offers two actions, the first in the row’s menu (⋮):

  • Start a flow on new mail adds an Email trigger node, already bound to this mailbox, to a flow you pick or to a new flow you name in the same modal. The node arrives on the canvas with only its binding set.

    The Use in a flow modal: a Flow picker set to Create a new flow, a New flow name field, and Add to flow
    The Use in a flow modal: a Flow picker set to Create a new flow, a New flow name field, and Add to flow
  • Pin keeps the mailbox in the sidebar’s Pinned group.

The Send mail from button above the list names the mailbox your workspace sends from: every Email node that names no mailbox, and does not answer mail that came in on another mailbox that can send, sends from it. Click it to choose another, or none. Only mailboxes that can send are offered.

Every workspace starts with a Publicus inbox named after it, such as bakkerij-jansen-k3x9@publicus.email, and it is the Send mail from mailbox, so mail can go out before you set anything up. It sends, and takes replies to what it sent; switch on New mail on its page for people to write or forward to it. When a workspace has no Send mail from mailbox, the first mailbox you add that can send becomes it, and Publicus tells you so. Until there is one, the button reads Send mail from: no mailbox in warning colour, and Email nodes that name no mailbox fail. See Email: which mailbox sends for the whole rule.

The type records the mechanism, not the provider. You never choose it directly: the creation wizard derives it from how you answer “What kind of mailbox?”

Type Mechanism
forward A Publicus inbox. Publicus hosts the address, so mail to it arrives the moment it is sent, and it sends from its own address on publicus.email. Needs no credentials.
imap Publicus polls an external IMAP account with a password you provide. Sends replies over SMTP with the same login when you give it an outgoing server.
connected Publicus reads and sends through the provider’s own API, using an OAuth connection. No password is stored. Google and Microsoft accounts use this type.
smtp Your own SMTP server. It only sends, through the server and login you give it. Nothing arrives on it, so no flow can start from it.

New mailbox opens a three-step wizard: Mailbox, Configuration, Activation.

Name the mailbox and choose what kind it is:

  • Publicus inbox: an address on publicus.email that sends and receives. No account to connect, and you can forward other mail to it too. The address is filled in from the name you type, which you can change before you create the mailbox.
  • Choose your provider: pick your provider by name and Publicus picks the best way to connect it. OAuth where the provider offers it, a pre-filled IMAP setup where it does not, and a Publicus inbox you forward mail to when neither route exists.
  • Manual IMAP: enter host, port, and credentials yourself.
  • Your own SMTP server: send only, through a server you already use, such as your company’s own, SendGrid, Postmark, or Mailgun.
Step 1 of the New mailbox wizard: Name, and What kind of mailbox? with Publicus inbox, Choose your provider, Manual IMAP and Your own SMTP server
Step 1 of the New mailbox wizard: Name, and What kind of mailbox? with Publicus inbox, Choose your provider, Manual IMAP and Your own SMTP server

When you pick a provider, the wizard states which route it chose and why. Providers that support both routes (Google) default to OAuth and show a Use an app password (IMAP) instead toggle as an explicit fallback.

Step 1 with Choose your provider set to Google: the wizard says it will connect with OAuth, with the Use an app password (IMAP) instead toggle off
Step 1 with Choose your provider set to Google: the wizard says it will connect with OAuth, with the Use an app password (IMAP) instead toggle off

The fields depend on the derived type.

Publicus inbox asks for its address:

Field Default Notes
Address the mailbox name The part before the hyphen is yours to choose, and starts as the mailbox name in lower case with hyphens, such as customer-support for Customer support, with -2, -3 and on added when another inbox in your workspace has that name. The part after it is fixed for your workspace, so the address reads like customer-support-k3xq@publicus.email. The inbox sends from it, receives mail sent to it, and is the address you forward other mail to. It cannot be changed later, only retired. A Publicus inbox you import gets its address from its name the same way.

Retire address, on an existing inbox, stops its address for good: mail to it is refused from then on, and it is never given out again. If it was the Send mail from mailbox, Email nodes that name no mailbox stop sending until you choose another.

IMAP collects the server settings, pre-filled when a catalog provider was picked:

Field Default Notes
IMAP host Required.
Port 993
Encryption SSL SSL, TLS, STARTTLS, or None.
Username Required.
Password secret A secret holding the account password. Create one inline with the + button. Providers such as Yahoo, iCloud, Fastmail, and personal Gmail require an app password rather than your normal one; the wizard says so and links the provider’s page for generating it.
Folder INBOX The folder to poll when Folders to poll is empty.
SMTP host, port, security Optional. Leave the host blank for a receive-only mailbox. When set, replies are sent over SMTP with the password above.
Step 2 for an IMAP mailbox: IMAP host, Port, Encryption, Username, Password secret with New secret, Folder, and the optional SMTP host, port and security
Step 2 for an IMAP mailbox: IMAP host, Port, Encryption, Username, Password secret with New secret, Folder, and the optional SMTP host, port and security

Your own SMTP server collects the server and the address to send from:

Field Default Notes
Username The SMTP login, which is often not an address: SendGrid’s is apikey.
Password secret A secret holding the SMTP password or API key.
SMTP host Required, for example smtp.sendgrid.net.
SMTP port 587 587 with TLS, or 465 with SSL.
SMTP security TLS
Send from Required. The address mail goes out from. Your server must be allowed to send as it: a service such as SendGrid sends only from addresses or domains you verified there. An Email node can still name another.

Connected asks for one thing: an active connection for the chosen provider. Pick one from the list, or click New connection to run the connect flow in a new tab.

Step 2 for a connected mailbox: the Google connection picker with New connection, and the check This connection can read and send mail
Step 2 for a connected mailbox: the Google connection picker with New connection, and the check This connection can read and send mail

Below the connection picker, Publicus checks what the connection is actually allowed to do:

  • “This connection can read and send mail” means you are ready.

  • A warning that the connection cannot read mail, or can read but not send, means the account is connected but has not granted that access. Signing in and granting mail access are separate approvals. Click Grant mail access to request the missing permissions from the provider, then reload the page.

    A Google connection that can read mail but not send it, with the Grant mail access link and a note to reload the page
    A Google connection that can read mail but not send it, with the Grant mail access link and a note to reload the page

The last step is two groups, Sending and Receiving. A Publicus inbox has a few settings of its own:

Field Default Notes
Send mail from this address on Off, flows cannot send from the inbox, and it is never the Send mail from mailbox.
Sender name The name people see next to the address, such as your company name. Leave empty to show the address alone.
Replies to mail it sent on Answers to mail the inbox sent start flows, and reach the runs waiting for them.
New mail Off Everything else, forwarded mail included. Off keeps it in the log and starts nothing. From anyone fits an address you publish or forward mail to. Only from these domains takes it from the Domains you list, subdomains included. A forwarding rule keeps the original sender, so list the domains of the people who write to you.
Step 3 of Create mailbox for a Publicus inbox: Sending, with Send mail from this address, Sender name, Always BCC and Signature, and Receiving, with Replies to mail it sent and New mail, then Back and Create
Step 3 of Create mailbox for a Publicus inbox: Sending, with Send mail from this address, Sender name, Always BCC and Signature, and Receiving, with Replies to mail it sent and New mail, then Back and Create

While New mail is on, the page shows per-provider instructions for forwarding mail to the inbox. When a provider sends a forwarding confirmation email (Gmail does), the code appears on this screen directly, because Publicus is the receiver.

A Publicus inbox's Receiving settings: Replies to mail it sent on, New mail from anyone, How to forward mail here, and the provider confirmation code to paste back
A Publicus inbox's Receiving settings: Replies to mail it sent on, New mail from anyone, How to forward mail here, and the provider confirmation code to paste back

The other settings apply to the types that use them:

Field Default Notes
Active off When on, inbound mail to this mailbox starts the flows bound to it. Not asked of a Publicus inbox, whose Receiving settings say what it takes, nor of an SMTP mailbox, which receives nothing.
After polling Leave messages unread IMAP and connected mailboxes. Mark messages as seen flags processed mail in the source account, Move out of the inbox (archive) archives it, and File under a label, leaving it in the inbox applies the Label you enter (a Gmail label, an Outlook category, or an IMAP folder of that name). Archiving and filing need write access to the mailbox. Deduplication never depends on this; Publicus tracks its own cursor, so leaving mail unread is safe.
Archive folder Archive on IMAP only, and only when the server does not call its archive Archive.
Always send as Every message from this mailbox goes out from this address, whatever the flow or agent asks for. Leave empty to let the sender choose.
Always BCC An archive address added to every outbound message. A send that cannot carry it fails rather than going out unarchived.
Signature Appended to every outbound message.
Folders to poll Inbox IMAP and connected mailboxes. More folders to read, such as Junk or the sent folder. See Choose which folders to read.
Only start flows for mail from IMAP and connected mailboxes. Sender domains, subdomains included. Leave empty to accept every sender. This is triage, not authentication.
  • A Publicus inbox is push-based: mail sent or forwarded to its address reaches Publicus directly and is never polled.
  • An SMTP mailbox receives nothing.
  • IMAP and connected mailboxes are polled. Publicus sweeps every active one on a fixed cadence, once per minute by default, and picks up only messages it has not seen before. Both Google and Microsoft connected mailboxes are read by polling their APIs; no webhook subscription is involved.

Each new message starts a run of every flow carrying an armed Email trigger node bound to the mailbox. Arming happens on the canvas, not on this screen; see Triggers & arming.

Open a mailbox to see its Messages below the form: the full trail of inbound receipts and outbound sends. It answers “did mail arrive, and did it start a flow?”, and it is where you read and answer the mailbox’s mail yourself.

A mailbox's Messages: received mail and a reply sent by a flow, each with its sender, subject, flows started and when, a grey zero where it started none
A mailbox's Messages: received mail and a reply sent by a flow, each with its sender, subject, flows started and when, a grey zero where it started none
Column Shows
Mail Received, Sent (the owner’s own mail, read from a watched sent folder), or Sent by a flow. Filterable.
Folder The folder a polled message was read from. Shown only on an IMAP or connected mailbox, the kinds that read folders.
From The sender address. Searchable.
Subject Searchable. Under it, on mail the mailbox turned away, Refused: and why, for example a sender outside the domains it takes mail from, new mail to a Publicus inbox with New mail off, or an automatic reply or bounce report that reached a Publicus inbox.
Flows started How many runs this message triggered. Grey zero means the message arrived but started nothing. When any of those runs waits for a person to approve something, such as an agent’s reply, the line under it says how many, and the count opens the approvals.
Driver Which transport handled it. Hidden until you turn it on in the column menu.
When Relative timestamp.

Refused mail is hidden by default. Set the Refused mail filter to show it too, or only it.

A Publicus inbox never starts a flow for an out-of-office reply or a bounce report. When a bounce report says an address it wrote to no longer exists, Publicus stops sending to that address, and the line under the message’s subject names it.

Click View on a message to open it: the addresses, message ID, conversation key, the rendered body, and the runs it started. The message’s menu (⋮, at the end of the row) offers:

  • Reply answers it from this mailbox, threaded into the same conversation. The reply goes out exactly as a flow’s Email step would send it, with the same limits and the mailbox’s signature and archive address. It is unavailable when the mailbox cannot send.
  • Conversation shows every message of its conversation, in both directions, refused ones included. Clear the Conversation filter to see the whole mailbox again.
  • Re-trigger dispatches a stored message again exactly as it arrived, against either the published flow version or the draft you are editing. Any run it starts repeats its side effects for real, and the action is unavailable once the stored payload passes its retention window.
A received message opened: its sender, recipient, subject, message ID, conversation and driver, the message body, its headers and payload, and the runs it started
A received message opened: its sender, recipient, subject, message ID, conversation and driver, the message body, its headers and payload, and the runs it started

Whether a mailbox can send depends on its outbound half:

  • A Publicus inbox sends from its own address, within the Publicus inbox limits, such as 100 messages an hour and 1,000 a day per workspace, unless Send mail from this address is off.
  • A connected mailbox sends through the same connection, provided it granted send access.
  • An IMAP mailbox sends when its SMTP settings are filled in; without them it is receive-only.
  • An SMTP mailbox sends from its Send from address through your server, and does nothing else.

Flows send with the Channel / Email node, from the mailbox the step names, else the mailbox the mail it answers came in on, else the Send mail from mailbox.