> For the complete documentation index, see [llms.txt](https://docs.keyfax.biz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.keyfax.biz/product-suite/admin/host-operations/activeh-operations/emails.md).

# 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="https://2882349412-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MARm6St_qFGM52R3pBa%2Fuploads%2Fezng985Fi0ZfQypyQSKx%2Fimage.png?alt=media&amp;token=6cef82e6-6200-4d3b-8042-9703d03ba214" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://2882349412-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MARm6St_qFGM52R3pBa%2Fuploads%2FrKoJrXBdKoJTVUmKzZPS%2Fimage.png?alt=media&amp;token=fbfc144a-6b74-40c4-99bc-5df646449a43" alt=""><figcaption></figcaption></figure>

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