add new functions for awarding trophies
add function for awarding trophy by RAC
update mailer to use mandrill