Check for key before accessing it
Merge pull request #184 from FenrirUnbound/hotfix/mail

Check for key before accessing it