> 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

### 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.

![](/files/w0eD8XazbzFeYfb6LiKt)

* 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="/files/3WdxcJGCet0BcOUbSKIW" 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="/files/QyFrJ6SyGAIoeDrhL6J5" alt=""></picture><figcaption></figcaption></figure>
