little fix to the toEmail block to stop it crashing on delete

fixes #429