Go to System Settings/ WiFI, and in the network you are using click the three dots. Then turn off “Limit IP address tracking.”

Go back to mail, do the thing, then turn it back on.