fix issue with mandrill email sending algorithm when no social login is defined.