<?xml version="1.0" encoding="UTF-8"?>
<eventPublisher name="org.wso2.analytics.apim.emailAlertStreamPublisher"
                statistics="disable" trace="disable" xmlns="http://wso2.org/carbon/eventpublisher">
    <from streamName="org.wso2.analytics.apim.emailAlertStream" version="1.0.0"/>
    <mapping customMapping="enable" type="text">
        <inline>message:{{msg}}
type:{{type}}
alertTimestamp:{{alertTimestamp}}</inline>
    </mapping>
    <to eventAdapterType="email">
        <property name="email.address">{{emails}}</property>
        <property name="email.type">text/plain</property>
        <property name="email.subject">APIM Analytics Alert : {{type}}</property>
    </to>
</eventPublisher>