Check if mc is nil

prevent crash when no email account is set up