Skip to main content

Connect an email mailbox

When this is done, emails sent to your support address arrive in Graia CCaaS, go through an email workflow to a queue, and agents answer them from the same address.

Customer emails support@yourcompany.com
→ Graia CCaaS reads the mailbox through the email channel
→ the channel's workflow replies automatically and queues the email
→ an agent takes the task and replies – from support@yourcompany.com

It takes about 30 minutes, plus the time your IT team needs for the Microsoft 365 part. Roles involved: IT administrator (Part 1), Administrator (Part 2), Agent (Part 3).

Pick your mailbox type in the tabs below – the other tabs on the page follow.

Microsoft 365 (Exchange) – for mailboxes in your organization's Microsoft 365. Graia CCaaS gets access through an app registered in your Microsoft Entra ID; your IT team can limit it to the support mailboxes only.

Before you start​

WhatWhoWhere
Access to the Email section of the portalAdministratorRoles
The mailbox customers will write to, for example support@yourcompany.comIT administratorYour mail provider
Exchange: the address is a user mailbox – not a shared contact, mail user or guest accountIT administratorEmail channel configuration
IMAP: the server names, and a username and password for IMAP and SMTPIT administratorYour mail provider
A second mailbox to send test emails from, and an agent who can log inTester–

Part 1 – Prepare the mailbox (IT administrator)​

1. Check the mailbox type​

  1. In the Microsoft 365 admin center, check that the support address is a user mailbox. Mail contacts, mail users and guest users can't be used as email channels.

Expected result: the address has its own mailbox. See the note in Email channel configuration.

The Graia CCaaS email app can reach any mailbox in your Microsoft 365 organization. Limit it to the mailboxes you use for email channels:

  1. Create a mail-enabled security group in Exchange, and add the support mailboxes to it.
  2. Create an application access policy with New-ApplicationAccessPolicy: AppID is the Buzzeasy Email Integration enterprise application's ID, PolicyScopeGroupId is the new group, AccessRight is RestrictAccess.

Expected result: Graia CCaaS can only read and send in the group's mailboxes. To add a channel later, add its mailbox to the group. See Best practice for the email app registration and Microsoft's Limit mailbox access.

Part 2 – Create the channel (Administrator)​

3. Connect the mailbox​

  1. Go to Email › Channels and click Create. The Create Email channel dialog opens on Email Configuration.
  1. Leave Account type on Exchange.
  2. In Entra ID list, choose your organization's Microsoft tenant – it's listed by its domain, for example yourcompany.com. If it isn't listed, click the refresh button next to the list. If it's still missing, contact your Graia account manager before you go on.
  3. Enter the support address in User email address. Mail folder stays Inbox.
  1. Click Next.

The account type can't be changed after the channel is created. To switch, delete the channel and create a new one.

4. Name the channel and choose the workflow​

  1. On Channel Details, enter a Name and, optionally, a Business unit.
  2. In Workflow, choose an existing email workflow, or leave Create new workflow and name it on the Workflow Details step.
  3. Leave Auto-create customer profiles for new contacts on, unless customers should only be created by your CRM or import.
  4. Turn on Create channel in enabled state, or enable the channel later.
  5. Go through Email Signature, Business Hours and Completion Codes with Next. In the signature, type # to insert the agent's Name, Display Name or Job Title. Set the business hours if your workflow checks opening hours.
  6. Click Create.

Expected result: the channel is listed with a green check mark – the mailbox is connected.

See Create an email channel.

5. Build the workflow​

If the channel uses a new, empty workflow, build it now: an automatic reply and a queue are enough for a first test. Follow Build your first email workflow, and choose its workflow on the channel.

Expected result: the workflow is saved, and the channel's Workflow column shows it.

Part 3 – Test it (Agent)​

6. Send a test email and answer it​

  1. From another mailbox, send an email to the support address.
  2. Log in to the Agent application as an agent who can take tasks from the workflow's queue, and set your state to Available.
  3. Open the email task, click Reply, write an answer, and click Send.
  4. Close the task.

Expected result: the customer mailbox gets the workflow's automatic reply, then your answer – sent from the support address, with the channel's signature.

See Reply to customer emails.

Check that it works​

#Do thisYou should see
1Open Email › ChannelsThe channel with a green check mark
2Send an email to the support addressThe automatic reply from the workflow
3Make an agent availableAn email task arrives
4Reply as the agentThe customer gets the reply from the support address, with the signature

If it doesn't work​

SymptomLikely causeFix
No green check mark on the channelGraia CCaaS can't sign in to the mailboxExchange: check the Entra ID, the address and the access policy group. IMAP: check hosts, ports, username and (app) password
Exchange: your organization isn't in Entra ID listThe email app isn't connected to your Microsoft tenant yetRefresh the list; if it's still missing, contact your Graia account manager
Exchange: the channel can't connect to one address, but others workThe address isn't a user mailbox, or it isn't in the access policy groupSteps 1 and 2
Gmail: sign-in fails with the right passwordGmail needs an app passwordStep 1 (IMAP)
Outlook.com over IMAP doesn't workNot supportedUse another provider, or a Microsoft 365 mailbox with the Exchange type
Emails arrive but no task reaches agentsThe channel is disabled, or the workflow has no queueSteps 4 and 5
You chose the wrong account typeIt can't be changedDelete the channel and create it again