When you send an email, the message will be stamped with the IP address of each server that it travels through on the way to its destination. Your IP address is generally the first one on the list; it is the address that may be used to determine the city in which you are located.