Adds AJAX handler for sending logs via email.