Generate rejection email

Implemented solution for issue #2.