I didn't think of that.
We'll still need the `if allowdomain.endswith('@'):`