Fix the send_email() test

Signed-off-by: Kai Blin <kai.blin@biotech.uni-tuebingen.de>