SMTP URI and logging