Added multiple email templates and random email selector