Handle SMTP period transparency

This replaces #64