changed type of :to field for emails
Merge branch 'master' into pinauthintegration