small fix for error handling

Small fix that updates error handling in the case where a user does not have an email loaded into their profile or the smtp settings have not been entered.