Refactor email preferences
Merge pull request #629 from loomio/craigambrose-refactor_email_preferences

Refactor email preferences