Email intake
Email intake turns incoming mail into work items. Customers can open a request by email and continue the conversation by replying to a message Windshift sends them.
Email intake uses two objects:
| Object | Purpose |
|---|---|
| Mailbox | The connection. It owns the inbound address and the credentials. |
| Intake | One feed. It reads one folder on a mailbox and routes new mail to one workspace and item type. |
A mailbox does not route mail. Routing lives on the intake. One mailbox can feed several intakes, but only through distinct folders.
Each intake tracks its own position in its folder. Intakes on the same mailbox advance independently, so a slow or disabled intake does not hold back the others.
Deduplication is scoped to the mailbox, not the intake. If the same message appears in two folders that two intakes read, Windshift creates one item. The tracking record is kept for 365 days by default.
Before you start
Collect these items:
- The mailbox address and its credentials.
- For OAuth, an app registration in the Microsoft or Google console.
- A workspace and an item type for the routing.
- A portal, if customers must see the requests.
Create the mailbox
Creating the email channel requires a system administrator. An assigned channel manager can maintain the connection settings and intakes afterward. Starting OAuth authorization still requires a system administrator.
- Open Admin and select Channels.
- Select Create Channel.
- Enter a channel name.
- Select the Email type.
- Select a category and enter a description. Both steps are optional.
- Select Create Channel.
Configure the connection

- Open the email channel and select the Configuration tab.
- In Email Configuration, select an authentication method.
Basic IMAP
- Select Basic IMAP.
- Enter the IMAP Host and the Port.
- Select the Encryption.
- Enter the Username and the Password.
- Select Save.
OAuth
- Select OAuth.
- Select the provider, Microsoft 365 or Google.
- Enter the Client ID and the Client Secret.
- For Microsoft 365, enter the Tenant ID.
- Enter the monitored mailbox address before starting authorization.
- Copy the Redirect URI into the provider console.
- Save the settings.
- Have a system administrator select Connect Mailbox and complete authorization in the provider window.
- Confirm that the status shows Connected.
The Tenant ID value common allows any Microsoft account. Enter a specific tenant ID to limit the connection to one tenant.
Changing the monitored mailbox or OAuth client requires a new connection. A connection verified for one address cannot enable a different mailbox.
Set the processing behavior
In Processing Options, select the After processing action:
| Value | Meaning |
|---|---|
| Leave in mailbox | Keep the message in the folder. |
| Mark as read | Mark the message as read after the item is created. |
| Delete after processing | Remove the message from the mailbox. |
Delete removes the message from the mailbox. Use it only when another system keeps a copy.
Add an intake
- In the same Configuration tab, find the Intakes section.
- Select Add intake.
- Enter the Folder to poll. The default is INBOX.
- Select the Portal, or select Internal (no portal).
- Select the Workspace.
- Select the Item Type.
- Enter the rate limit, or leave it empty for the default of 100.
- Select the Status.
- Select Save.
When the intake targets a portal, Windshift adds the portal's system Email request type. The request type marks the mail that arrived by email. See Request types.
Intake items carry an empty field set, so required fields on the workspace create screen never block incoming mail. If the item needs a value from a required field, set a default on the field or fill it in a rule.
Connect the portal
The link lives on the intake. To connect a portal:
- Open the intake and select the portal as the Portal target.
- Confirm the workspace is one the portal serves.
- Open the portal channel and select the Configuration tab.
- Under Connected Intake Mailboxes, confirm the mailbox appears.
The portal shows the linked mailboxes read-only. A web submission has no feeding intake, so Windshift sends its replies from the portal's default mailbox. The default is the oldest enabled intake that feeds the portal.
Enable the channel
- In the Configuration tab, turn on Enable Email Channel.
- Wait for the next mailbox poll. The default interval is five minutes. The server operator can change it.
Test the intake
- Send an email to the mailbox address.
- Wait for the next poll.
- Open the target workspace and confirm the new work item.
- If the intake links a portal, use a sender address the portal admits. Sign in with that address and confirm the request appears in My Requests before replying to any email.
- Reply to the notification email and confirm the reply appears on the ticket.
Troubleshoot
| Symptom | Cause and fix |
|---|---|
| The intake status is Needs attention. | The linked portal stopped serving the workspace. Repair the portal or the intake. |
| Mail is held back. | The sender reached the rate limit. Raise the limit and select Requeue and retry. |
| Replies do not thread. | Check the monitored address and the Customer replies tab. |
| The connection shows Not Connected. | Complete the OAuth authorization again. |
The conversation loop
In 0.9.6, a fresh message starts a new request even if the sender already has an open ticket. To continue an existing request, use Reply on a message Windshift sent to your address. Windshift checks that the reply references that message and that you still have access to the request. Recipient-specific message IDs are valid for 30 days.
A message with thread references that cannot be matched starts a separate staff-visible request. A message without thread references is treated as fresh mail. During an upgrade, a reply to an older Windshift message can still match its original request until that request has issued its first recipient-specific ID.
Rate limiting
An intake caps new tickets for each sender in a rolling hour. The default is 100. A value of 0 disables the cap.
A declined message:
- Creates no ticket.
- Appears in the processing log.
- Stays unread and undeleted.
- Does not stop the intake.
Operators recover held-back mail with Requeue and retry after they raise the limit. Requeueing only re-reads the mailbox, so no message is lost and Windshift does not duplicate a message.
Reply to the requester
An agent replies from the ticket. Add a comment on the item:
- Open the ticket.
- Write the reply in the comment box.
- Leave Internal note off to send the reply to the customer. Turn it on to keep the comment inside the workspace.
When the comment is public and the requester is a portal customer, Windshift queues a threaded email reply. The reply address is the monitored address of the mailbox that fed the item. A portal web submission has no feeding intake, so it uses the portal's default mailbox.
The Customer replies tab shows the outbound queue with the recipient, subject, attempt count, next attempt, and the last error. Message bodies are never shown.
Operators can:
- Retry now to clear the backoff and send immediately.
- Discard to stop retries permanently. The row stays for audit.
- Discard all pending to cancel queued replies in bulk. Deliveries already in progress are left alone.
Close a ticket
Closing a ticket changes its status. It does not move mail between folders and it does not end the thread.
- An authorized reply can still add a comment to a closed ticket.
- A fresh email from the same sender opens a new ticket.
- To stop replies from a contact, remove them from the request participants.
Windshift does not move processed mail into a separate folder. The intake action applies to each message as it is processed, not when a ticket closes. Choose Leave in mailbox, Mark as read, or Delete after processing.
Processing log
The processing log lists each message with the sender, the subject, and the outcome. The log shows the channel health:
- Last check time.
- Error count and last error.
- Watermark.
- Rate-limited count.
Message bodies are never exposed in the log. Channel managers without item-view on the target workspace see redacted rows.
Auto-created customers
By default, the first new email to a portal-linked intake creates or reuses a customer for the sender's address and grants access to the linked portal. The sender can sign in with that address and see the ticket in My Requests. No confirmation reply or staff invitation is needed. New customer records are marked email-intake.
The portal's allowed domains still apply. A manual-registration portal only accepts customers who already have access. For an internal intake or a sender the linked portal does not admit, the new ticket records a contact address without granting portal access.
Publish a privacy notice on the portal that explains that emailing support creates a contact record. Review auto-created customers on a schedule and clean them up in bulk. See Customers and organisations.