bug fixes and no email being sent for classes created in the past
Merge branch 'master' into pinauthintegration