make EmailLib return log + correct security measure for Email.live