added log line for mail