# Mail

## **Ask Mail Card**&#x20;

Collect email addresses from your customers using the Ask Mail card.

<figure><img src="https://789614814-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvCr7uCTpZRGEF8A48OOJ%2Fuploads%2FzIZKyICf5vlWOYAS6cHR%2FScreenshot%202025-09-18%20154344.png?alt=media&#x26;token=34db93ec-390a-4249-a4ca-2470c3187945" alt=""><figcaption></figcaption></figure>

## Question Text

This is the question you want to ask users. Keep it clear and concise so they understand what you're asking.

You can format the text using **Bold**, *Italic*, or ~~Strikethrough~~. Use asterisks (\*) for Bold, underscores (\_) for Italic, and tildes (\~) for Strikethrough.

You are requesting your customers' email addresses to send them exclusive offers and updates. The Ask Email question type with validation settings ensures users provide accurate responses within a specific character limit.

For the Question Text, you can enter: "Please provide your email address so we can send you exclusive offers and updates."

<figure><img src="https://789614814-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvCr7uCTpZRGEF8A48OOJ%2Fuploads%2F43w2JheBurhXZcua0n5O%2FScreenshot%202024-06-24%20151420.png?alt=media&#x26;token=4a2a66c8-bd99-45b3-9404-b552c8b0d152" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
PRO TIP: Use Variables in the **Question Text** and in the **Validation Error Message** to make it more personalized.
{% endhint %}

## Advanced Settings

For the validation settings, you can set the attempt limit to 1. The Validation Error Message is optional. Specify the Action on Invalid Response, and enable the Additional Validation Settings.

<figure><img src="https://789614814-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvCr7uCTpZRGEF8A48OOJ%2Fuploads%2F12raWtPM2SGYJVe6yLpr%2FScreenshot%202024-06-24%20151713.png?alt=media&#x26;token=3d8124b4-9d79-44b0-9f8a-241b3b89df79" alt=""><figcaption></figcaption></figure>

## Save Response in the Variable

You have the option to store the user response in a variable. For example, you can create a variable called `user_email` to store the user's response.

<figure><img src="https://789614814-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvCr7uCTpZRGEF8A48OOJ%2Fuploads%2FlCv1IySMsHqFzheOtAYL%2FScreenshot%202024-06-24%20151838.png?alt=media&#x26;token=8307addd-e3ce-4a5b-88cb-f85d77fc361c" alt=""><figcaption></figcaption></figure>

Once you have set all the fields required and click on **SAVE.**


---

# 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://docs.bizmagnets.ai/bot-flows/ask-questions/mail.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.
