added proper debug for mail sending failing sometimes
should be easy to fix if we hit it again