Log SMTP id after all.

Simplifies the code. Maybe we can use it for grouping later?