final tweaks before sending email