> For the complete documentation index, see [llms.txt](https://dataqueue.gitbook.io/voicehub-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dataqueue.gitbook.io/voicehub-docs/integrations/custom-smtp-for-email-invitations.md).

# Custom SMTP for Email Invitations

This guide will help you connect your own SMTP (e.g., Gmail) so that all emails are sent directly from your address. By default, our platform sends invitations using our own SMTP server.

### Step 1: Create an App Password in Google

If you’re using Gmail, follow these steps to generate an App Password:

* Go to myaccount.google.com and sign in.
* In the left menu, select Security.

![](https://1583580785-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVRUgVLmtuyNEZUgZ8LYH%2Fuploads%2FDthSGvQe3BLx7c4kIOrl%2Funknown.png?alt=media\&token=7536e45c-6ea8-4da2-b4cd-bdb1a28d32cc)

* Scroll down to “Signing in to Google.”
* Make sure 2-Step Verification is turned ON (required). If it’s off, enable it first and complete the setup.
* After enabling 2-Step Verification, a new option appears: App passwords. Click App passwords.
* Google may ask you to sign in again for security.
* Under Select app, choose Mail (or “Other” if you want to name it).
* Under Select device, choose your device or select “Other”. Click Generate.
* Google will show a 16-character App Password. Copy this password.

Paste this password into the App Password field in Voicehub’s Email settings.

### Step 2: Add Your Email Configuration

Under the Emails sidebar, you can add a new Email Configuration.

<figure><picture><source srcset="/files/hTMH77qp6bGXcywF5cDN" media="(prefers-color-scheme: dark)"><img src="https://1583580785-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVRUgVLmtuyNEZUgZ8LYH%2Fuploads%2Fgit-blob-7bac021be86c492cbc62e0515aed3a5ce343120f%2Fimage.png?alt=media" alt=""></picture><figcaption></figcaption></figure>

### Step 3: Configuring Agent to use your Email Configuration

Under the White Labeling sidebar, select Email Templates, then from the Email Configuration card, select your configuration.

<figure><picture><source srcset="/files/h3PQfDy7yGQeUasX5FY5" media="(prefers-color-scheme: dark)"><img src="https://1583580785-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVRUgVLmtuyNEZUgZ8LYH%2Fuploads%2Fgit-blob-18bd5cc0d50e39936c6cb6ff8127dd938b49462b%2Fimage.png?alt=media" alt=""></picture><figcaption></figcaption></figure>
