little fix to the toEmail block to stop it crashing on delete
Merge pull request #436 from mikedewar/emailfix

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