The domain name part of the address (jdoe@somewhere.com) is resolved to an IP address using DNS (just like a web page). Then the message's constituent packet(s) are routed to that IP address where, assuming there is a mail client listening, they are reassembled into a message. The receiving mail client then attempts to resolve the user's name (jdoe@somewhere.com) and delivers the message to their mailbox.