Code

t/t9001-send-email.sh: convert setup code to tests