spec for mail creation and delivery