more tweaks for the wotd-by-email script. Fixes #322.