Add email templates class. #1810