added exception handling
email forward for invalid messages