AWS and Badges

AWS SES implementation, Badge refactor