# Email Alert

WorkSmart allows you to configure email alerts for different events like “Add Record”, “Record Commented”, “Edit Record”, etc. But sometimes you need the ability to trigger email notification based on some criteria – `Product Stock < Minimum Stock`, `Accounts Status = Rejected` and so on.

Email Alert action allows you to setup email alerts with conditions as part of your Record Based Rule. You define a condition for your rule and the email alert will be sent when the [Condition(s)](http://worksmart.net/user-guides/dynamic-custom-apps/automation-rules/record-based-rules/rule-conditions/) of your is/are satisfied.

When defining, Email Alert action, you can either choose one of your existing email notification templates (email templates for “Add Record”, “Edit Record”) or you can define a custom email for your rule.

Selecting existing email template :

Or define a new custom email template for your rule :


---

# 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://help.workdigital.io/custom-database-apps/automation-rules/rule-actions/email-alert.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.
