Add logging on email creation