edit email template transactionally

#142
oauth signup