# Email Accounts ⛭

{% hint style="info" %}
Read first: [Email](/organizer/email.md)
{% endhint %}

### 1. Turn on Integrated Email <a href="#jgdogz2g0jwx" id="jgdogz2g0jwx"></a>

Check the box at <mark style="color:orange;">Company>Company Info>Configure>Edit>Use Integrated Email</mark>&#x20;

### 2. Add Email Account <a href="#p2ppww47b3ac" id="p2ppww47b3ac"></a>

<mark style="color:orange;">Setup>Configuration>Email>Mail Accounts>New</mark>&#x20;

* Gmail Account
* [Microsoft 365](#_cv5qesgh42li)
* Generic Mail

## Connect Gmail (Google Workspace) <a href="#oufpwuv8vamq" id="oufpwuv8vamq"></a>

Before you start you’ll need to configure or check the settings in the related Gmail accounts like this:

#### Check that IMAP is turned on <a href="#mnr7z2nbr277" id="mnr7z2nbr277"></a>

1. Open Gmail and click the ‘Settings’ cog in the top right corner of the screen.
2. Open the Forwarding and POP/IMAP tab and in the IMAP Access section select ‘Enable IMAP’.
3. Save your settings.

Go to <mark style="color:orange;">Setup>Configuration>Email>Mail Accounts>New Gmail Account</mark>

| **Main Information**                             |                                                                             |
| ------------------------------------------------ | --------------------------------------------------------------------------- |
| Account Name                                     | A useful name users can relate to i.e. <sales@salesorder.com> or even Sales |
| Sender Name                                      | i.e, Solutions Engineering Team                                             |
| Sender Email                                     | i.e, <sales@salesorder.com>                                                 |
| **IMAP Server details**                          |                                                                             |
| Username                                         | i.e, <sales@salesorder.com>                                                 |
| Password                                         | \*\*\*\*\*\*\*\*\*\*\*                                                      |
| <mark style="color:blue;">Test Connection</mark> | Click to test connection works                                              |
| **Default Folder Mappings**                      |                                                                             |
| Inbox                                            | Inbox                                                                       |
| Sent                                             | Sent                                                                        |
| Draft                                            | Draft                                                                       |
| Deleted                                          | Trash                                                                       |

Click '<mark style="color:orange;">Save</mark>' or '<mark style="color:orange;">Create Copy</mark>' to speed up setups.

## Gmail Setup Legacy?

Use these instructions to review or modify the 'old' setup.

| **Main Information**            |                                                                             |
| ------------------------------- | --------------------------------------------------------------------------- |
| Account Name                    | A useful name users can relate to i.e. <sales@salesorder.com> or even Sales |
| Sender Name                     | i.e, Solutions Engineering Team                                             |
| Sender Email                    | i.e, <sales@salesorder.com>                                                 |
| **IMAP Server details**         |                                                                             |
| Email server host               | imap.gmail.com                                                              |
| Email server port               | 993                                                                         |
| Secure Authentication           | Y                                                                           |
| Username                        | i.e, <sales@salesorder.com>                                                 |
| Password                        | \*\*\*\*\*\*\*\*\*\*\*                                                      |
| Use SSL                         | Y                                                                           |
| Test Connection                 | Are your settings correct?                                                  |
| I**MAP settings**               |                                                                             |
| Copy message to Sent folder     | Why wouldn't you?                                                           |
| **Default Folder Mappings**     |                                                                             |
| Inbox                           | Inbox                                                                       |
| Sent                            | Sent                                                                        |
| Draft                           | Draft                                                                       |
| Deleted                         | Trash                                                                       |
| **SMTP server account details** |                                                                             |
| Email server host               | smtp.gmail.com                                                              |
| Email server port               | 465                                                                         |
| Secure Authentication           | Y                                                                           |
| Username                        | i.e, <sales@salesorder.com>                                                 |
| Password                        | \*\*\*\*\*\*\*\*\*\*\*                                                      |
| Match IMAP server credentials   | Y                                                                           |
| Use SSL                         | Y                                                                           |
| Use TLS                         | N (if Y set server port to 587)                                             |
| Test Connection                 | Are your settings correct?                                                  |

## Connect Outlook <a href="#cv5qesgh42li" id="cv5qesgh42li"></a>

See Implement [oAuth for Outlook ](/setup/configuration/email-accounts/oauth-for-outlook-365.md)before you proceed.

Go to <mark style="color:orange;">Setup>Configuration>Email>Mail Accounts>New Microsoft 365 Account (Corporate)</mark>

| **Main Information**                             |                                                                             |
| ------------------------------------------------ | --------------------------------------------------------------------------- |
| Account Name                                     | A useful name users can relate to i.e. <sales@salesorder.com> or even Sales |
| Sender Name                                      | i.e, Solutions Engineering Team                                             |
| Sender Email                                     | i.e, <sales@salesorder.com>                                                 |
| **IMAP Server details**                          |                                                                             |
| Username                                         | i.e, <sales@salesorder.com>                                                 |
| Password                                         | \*\*\*\*\*\*\*\*\*\*\*                                                      |
| <mark style="color:blue;">Test Connection</mark> | Click to test connection works                                              |
| **Default Folder Mappings**                      |                                                                             |
| Inbox                                            | Inbox                                                                       |
| Sent                                             | Sent                                                                        |
| Draft                                            | Draft                                                                       |
| Deleted                                          | Trash                                                                       |

## Outlook Setup Legacy?

{% hint style="warning" %}
The following setting are no longer supported by Microsoft. Please see above to connect existing or new mailboxes.
{% endhint %}

Use these instructions to review or modify the 'old' setup.

See these links: [<mark style="color:blue;">Add Outlook account to another Mail app</mark>](https://support.office.com/en-us/article/add-your-outlook-com-account-to-another-mail-app-or-smart-device-73f3b178-0009-41ae-aab1-87b80fa94970) and [IMAP, <mark style="color:blue;">SMTP,</mark> <mark style="color:blue;">POP settings</mark>](https://support.office.com/en-us/article/pop-imap-and-smtp-settings-for-outlook-com-d088b986-291d-42b8-9564-9c414e2aa040)

| **Main Information**            |                                                                             |
| ------------------------------- | --------------------------------------------------------------------------- |
| Account Name                    | A useful name users can relate to i.e. <sales@salesorder.com> or even Sales |
| Sender Name                     | i.e, Solutions Engineering Team                                             |
| Sender Email                    | i.e, <sales@salesorder.com>                                                 |
| **IMAP Server details**         |                                                                             |
| Email server host               | outlook.office365.com                                                       |
| Email server port               | 993                                                                         |
| Secure Authentication           | Y                                                                           |
| Username                        | i.e, <sales@salesorder.com>                                                 |
| Password                        | \*\*\*\*\*\*\*\*\*\*\*                                                      |
| Use SSL                         | Y                                                                           |
| Test Connection                 | Are your settings correct?                                                  |
| **IMAP settings**               |                                                                             |
| Copy message to Sent folder     | Why wouldn't you?                                                           |
| **Default Folder Mappings**     |                                                                             |
| Inbox                           | Inbox                                                                       |
| Sent                            | Sent                                                                        |
| Draft                           | Draft                                                                       |
| Deleted                         | Trash                                                                       |
| **SMTP server account details** |                                                                             |
| Email server host               | outlook.office365.com                                                       |
| Email server port               | 587                                                                         |
| Secure Authentication           | Y                                                                           |
| Username                        | i.e, <sales@salesorder.com>                                                 |
| Password                        | \*\*\*\*\*\*\*\*\*\*\*                                                      |
| Match IMAP server credentials   | Y                                                                           |
| Use SSL                         | Y                                                                           |
| Use TLS                         | Y                                                                           |
| Test Connection                 | Are your settings correct?                                                  |

Repeat for each mail account you need to connect.

{% hint style="warning" %}
Use the '<mark style="color:blue;">Create Copy</mark>' action to speed up the configuration for multiple accounts on the same domain.
{% endhint %}

### Enable Worker’s (user) access <a href="#s3jj3888lsbf" id="s3jj3888lsbf"></a>

You can give users access to up to five email accounts:

<mark style="color:orange;">Company>Worker>Edit>Login Details>Accessible Email Accounts</mark>

### Set up Email templates <a href="#id-5sfqpgs0a8us" id="id-5sfqpgs0a8us"></a>

See '[Email templates](/setup/email-templates.md)'

### Troubleshooting

**On Google Workplace**

If you get this error message

{% hint style="danger" %}
Error: Unable to get folders list! Probably wrong credentials passed!
{% endhint %}

Check your credentials, settings and spelling. If these are correct go to this address:

{% embed url="<https://myaccount.google.com/u/1/security>" %}
Google Security settings
{% endembed %}

And follow this pathway to change your security settings. Your connection from Salesorder to your email **will still be secure.** Less secure in this context, means you are not using dual authentication.

![](/files/nFoZK5GrW7NmHzfrSkhr)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://helpwith.salesorder.com/setup/configuration/email-accounts.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
