Enterprise Mail Queue can be driven direct from JIRA events as they happen and/or via it API from an external source.
JIRA Event Source
Using JIRA as an event source will process Issue Events through the EMQ. When an Issue Event occurs EMQ searches through the active mail queues (the default is always checked last) to find notification schemes that match. If there is a matching mail queue then the Issue Event is processed by this queue.