Reject email addresses where hostname ends with '.'

Addresses issue #533