# Email

## **Element Description**

The **Email** field is designed to collect email addresses from customers during checkout. It ensures that the input matches the format for valid email addresses, facilitating communication and order confirmations.

<figure><img src="/files/b6g5wxBCyZEGoO75mQ8N" alt=""><figcaption></figcaption></figure>

**Sample Use Cases**

* Collect customer email addresses for order confirmation and updates.
* Request email information for marketing or newsletters.
* Use for contacting customers in case of order-related inquiries.

<figure><img src="/files/1shdwjBPCexQox32PeRo" alt=""><figcaption><p>Sample Email Field</p></figcaption></figure>

## **Email** Field Settings

<figure><img src="/files/teoWw8CTeat4n8K4s1Hd" alt=""><figcaption></figcaption></figure>

* **Label** – The name of the field displayed to the customer on the checkout page.
* **Placeholder** – The text that appears inside the input box before the customer enters their email.
* **Description** – Additional information or instructions about the field, displayed below the input box.
* **Enable/Disable Field** – Allows you to enable or disable the field based on your needs. If it is disabled, the element will not be displayed in the checkout form, you can enable it anytime from the checkout builder according to your needs.
* **Is Required** – When enabled, customers must provide their email address before completing the purchase.

**Advanced Settings**

* **Custom Class Name** – Add [**custom CSS classes** ](/checkout-custom-fields-builder-for-woocommerce/plugin-features/custom-classes.md)for styling or additional customization of the email field.
* **Validation Error Message** – Set a custom error message to display if the email entered does not meet validation requirements.


---

# 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.stylemixthemes.com/checkout-custom-fields-builder-for-woocommerce/checkout-builder-elements/email.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.
