sendEmail() after blocked

Moved the sendEmail function down a few lines so that the blocked log
also gets transmitted.