Modified mailhandler to receive email