Update mail.php

When using the Mail log handler, every time the Mail class is destroyed, it will send an empty email with an empty log. this results in an email for "every" request.
Merge pull request #19 from sponno/master

Update mail.php