> For the complete documentation index, see [llms.txt](https://docs.bizmagnets.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bizmagnets.ai/bot-flows/ask-questions/mail.md).

# Mail

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

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

<figure><img src="/files/Pzwn4jh0uSyjuiuQG9QJ" 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="/files/7aKz8zz80vWoRaaixBl1" 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="/files/AkTSTwtvBIMlyuu79IVn" 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="/files/HEAIdvCMSAHBRzaHp2uN" alt=""><figcaption></figcaption></figure>

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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.bizmagnets.ai/bot-flows/ask-questions/mail.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
