add mail logging interceptor