send error logs via email