To add new notification, add a new html file and add a new enum entry.

/**
 * Created by mdshannan on 12/20/14.
 */



public class Main {


    public enum NotificationMap {

        NEW_USER("NEW_USER", "welcome_user.html", "NAME"), PASSWORD_RESET("PASSWORD_RESET", "password_reset.html", "Name", "USERNAME");

        private String msgType;
        private String htmlTemplate;
        private String[] variables;

        private NotificationMap(String msgType, String htmlTemplate, String... variables) {
            this.msgType = msgType;
            this.htmlTemplate = htmlTemplate;
            this.variables = variables;
        }


    }

    public static void main(String[] args) {
        for (NotificationMap map : NotificationMap.values()) {
            System.out.println(map.msgType + " " + map.htmlTemplate + map.variables);
        }
    }
}