Don't try to send mail if there's no configured mail

I am getting a lot of exceptions thrown on my node because it assumes I have Pony configured.