Email Deployment Quick-start
This tutorial provides a comprehensive guide on how to integrate Google or Outlook Mail with the platform, deploy an agent to monitor your inbox, and review interaction transcripts.
Creating the Integration:
In the Integrations page, scroll down to the Available section and select the Google Mail or Outlook Mail card. Both integrations function similarly for email deployments.

On the Google Mail or Outlook setup page, click the purple Install button located on the right.

A new Email authentication tab will open. Select the account you wish to use, review the sign-in details and click Continue to proceed with the connection. Allowing relevant scopes and permissions

Once redirected back to the platform you can set the email account you wish to use as the Target Account (if your SSO account has access to multiple email accounts you may target any of them).
Make sure to toggle the Activate switch to the On position and then click Save Changes.

Make sure that your agent is using a prompt that is relevant for the deployment type, and any relevant knowledge base and instructs the AI how to respond.
This could be as simple as:
| You are an email agent, your job is to create replies to the emails received in the selected mailbox folder. Use context_retrieval to answer any questions related to [KB SUBJECT]. |
|---|
Or use more complex HTML formatting such as, this helps structure the email more:
| EMAIL HTML FORMAT RULES The final customer email must be written as simple HTML. Do not put the whole email inside one paragraph. Do not write the final email as one long block of text. Do not use markdown. Do not output the final customer email as plain text. Do not rely on blank lines for formatting. Use ... for each paragraph.Use only inside the sign-off to place "The COMPANY team." on the line below "Kind regards,". Every final customer email must follow this structure: Thank you for contacting COMPANY. [Main response paragraph.] [Second short paragraph or next step, if needed.] Should you require any further assistance, please do not hesitate to contact us. Kind regards, Before sending, check: The opening is inside its own tag. tags. tag. Kind regards, The whole email is not contained in one single tag. |
|---|
In the Deployments tab select the Email Deployment and click Start Deployment. In the configuration fields:
Email Account: Select the integration you just set up.
Limit replies to drafts: Keep this checked if you want the AI to only create drafts for review rather than sending emails automatically.

Then Click Deploy, and you have now successfully integrated your email account and deployed an AI agent to monitor your inbox.
What's Next?
Refine Prompts: Go to the Definition tab of your agent to adjust the instructions for more complex email replies and for a better customer experience.
Set Up Rules: Configure mail forwarding rules in your email provider to send specific types of queries to a dedicated folder for the agent to process, rather than your entire inbox.