Refactors the email option check to allow it not to be defined.
Refactors the email option check to allow it not to be defined.

This also makes it backwards compatible with the previous version.

nickcharlton/omniauth-pam