# Emails

SQL ActiveH Email tasks can be raised by building an email template and then associating the template in a script. Keyfax [Databoxes](/product-suite/admin/entities/databoxes.md)will be used as the merge fields in the email body and To/From addressees.

To set up an MIS Email Task, select Advanced/Base Task Templates from the menu and select the basetemplate type '**MIS Email**':

<figure><img src="/files/9gV7smQS2Kz668nhIgl6" alt=""><figcaption></figcaption></figure>

The email template screen will be presented. Complete as appropriate, dragging/dropping databoxes as required:

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

To use the Email template, simply associate it with a script.


---

# 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.keyfax.biz/product-suite/admin/host-operations/activeh-operations/emails.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.
