Integrations
Use NevTan Mail in Salesforce
Send feedbackThe NevTan Mail package adds a NevTan Mail box to Contact and Lead pages in Salesforce. Every salesperson connects their own NevTan Mail account, and Salesforce only sees the mailbox of the person who connected it.
How it works
- The admin of your NevTan Mail domain creates Salesforce credentials for the company.
- A Salesforce admin installs the package and pastes those credentials in once.
- Each salesperson chooses Allow Access in Salesforce, signs in to NevTan Mail and chooses Allow.
- On a Contact or Lead, the NevTan Mail box lists that person's emails with the contact, opens them, and saves replies as drafts.
Before you start
- You need to be the admin of your domain in NevTan Mail, and the domain must be verified.
- You need to be a Salesforce admin (you can open Setup).
- Each salesperson who connects needs a NevTan Mail mailbox on your domain.
1. Create Salesforce credentials
- Open Integrations: In NevTan Mail, open Settings → Integrations and find Salesforce. Only domain admins see this section.
- Create credentials: Choose Create credentials, pick your domain and give them a name, such as your company's Salesforce org.
- Copy both values: Copy the Client ID and the Client Secret. The secret is shown only once, so keep it somewhere safe until step 3.
2. Install the package
Install NevTan Mail from the Salesforce AppExchange, or use the install link NevTan support sends you. Choose Install for Admins Only; you give salespeople access in step 4.
3. Paste the credentials
- Open the identity provider: In Salesforce Setup, search for Named Credentials, open the External Auth Identity Providers tab and choose NevTanMailIdp.
- Paste and save: Choose Edit, paste the Client ID and Client Secret from step 1, and choose Save. Leave the other fields as they are.
4. Give users access
In Setup → Permission Sets, open NevTan Mail User, choose Manage Assignments and add every salesperson who should use NevTan Mail in Salesforce.
5. Add NevTan Mail to pages
- Edit the page: Open any Contact, choose the gear icon → Edit Page.
- Add the box: Drag NevTan Mail from the component list onto the page and choose Save. If Salesforce asks, choose Activate → Assign as Org Default.
- Repeat for Leads: Do the same on a Lead page if your team works with leads.
6. Each user connects
- Choose Connect: On a Contact or Lead, choose Connect NevTan Mail in the NevTan Mail box. Salesforce opens External Credentials.
- Allow access: Next to NevTanMailAuth, choose Allow Access, sign in to NevTan Mail with your work mailbox and choose Allow.
- Refresh: Go back to the record and choose refresh in the NevTan Mail box. It shows Connected as your address and your emails with that person.
Who can connect
Credentials belong to one domain. Only people with a mailbox on that domain, and the domain admin, can connect NevTan Mail through them. Someone signing in with an account from another company sees a message that the connection was set up by another company.
Your data and permissions
| Permission | What it allows |
|---|---|
| Read and search your emails | List, search and read messages in the mailbox you signed in with. |
| Create drafts in your mailbox | Save new drafts to your Drafts folder. Nothing is sent. |
Salesforce never sees your NevTan Mail password. The client ID and secret only identify your company's Salesforce org; they do not open any mailbox. Access starts only after a user signs in and chooses Allow, and it works only for that user's own mailbox. See our privacy policy for details.
Disconnect or revoke
- One user: In NevTan Mail, open Settings → Integrations, find Salesforce under Connected apps and choose Disconnect. Or, in Salesforce Settings → External Credentials, choose Revoke Access next to NevTanMailAuth.
- The whole company: As the domain admin, choose the delete icon next to the credentials under Salesforce in Settings → Integrations. Everyone who connected through them is disconnected straight away.
If it doesn't work
- The Salesforce section is missing in Integrations. Only the admin of a verified domain sees it.
- "Client authentication failed". Paste the Client ID and Client Secret into
NevTanMailIdpagain, exactly, with no spaces. If the secret was lost, revoke the credentials and create new ones. - "This Salesforce connection was set up by another company". Sign in with your mailbox on the domain the credentials were created for.
- The box keeps showing Connect NevTan Mail. Check that you have the NevTan Mail User permission set, then choose Allow Access again.
- The sign-in window says the request expired. A sign-in window left open for more than 15 minutes expires. Choose Allow Access again.
Still stuck?
Contact support and tell us which step you are on.
