implementation draft for mail with attachment
further preparations for mailing