# 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/05LnXG5xUUjNxZyGA6hy)

* 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>


---

# 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://dataqueue.gitbook.io/voicehub-docs/integrations/custom-smtp-for-email-invitations.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.
