# Email (E02): After the @

> In the previous video, we looked at the idea of having unique email addresses before the @ sign. Now, let's turn our attention to what happens 'after the @'.

In [the first episode of this email series](https://johnnydecimal.com/blog/0268) I introduced the concept of 'masked email' addresses, and explained how it was good security to give out a different email address to each of your services.

![An email address in three boxes: 'fine.bird8727', then '@', then a shrug emoticon. An arrow points at the shrug, labelled 'What happens here?'](https://johnnydecimal.com/blog/0274A-After_the_at@2x.png)

_Figure 0274A. After the @_

All that was happening _before_ the @ sign. Now let's look at the right-hand side of your email address: the part **after the @**.

This post has an accompanying video. [Become a Pro member](https://johnnydecimal.com/membership#pro) to view it.

## Hotel Gmail

Most people choose to stay at Hotel Gmail, because it's free. When you want to send that person an email, here's what happens.

1. Your computer asks the internet which server handles mail for `@gmail.com`.[^mx-records]
2. It gets a response like `alt1.gmail-smtp-in.l.google.com.`
3. It sends your mail to that server.
4. That server puts it in the recipient's inbox.[^recipient]

[^mx-records]: Technically, by querying the domain's MX records. Type a domain [into this form](https://toolbox.googleapps.com/apps/dig/#MX/), making sure `MX` is selected, to see the results.

[^recipient]: Assuming the mailbox exists, isn't full, etc. Otherwise the server will 'bounce' the mail back to you. Try sending mail to [a2b5c7d1e0f6@gmail.com](mailto:a2b5c7d1e0f6@gmail.com).

Let's say you've given out a bunch of business cards. They all have your Gmail address on them.

![Many business cards that say 'Hotel Gmail', each with an arrow to one large red box, also labelled 'Hotel Gmail'.](https://johnnydecimal.com/blog/0274B-Hotel_Gmail@2x.png)

_Figure 0274B. I'm sorry, I know you'll be singing it all day._

### …but you can never leave

The problem comes if you want to check out of Hotel Gmail. This place doesn't want you to leave, and won't make it easy. They don't run a mail forwarding service.

In this scenario, you'd have to give out new business cards. In other words, you have to change your email address _everywhere you used it_.

The reality is, you're locked into Hotel Gmail.

### But why bother moving?

I think there are nicer hotels, with better features. Hotel Fastmail, for example, has this _lovely_ 'masked email' feature that we're going to use to generate these unique parts 'before the @'.

But whatever the reason you want to move, the fact is: if your address is at someone else's place, **you do not control it**.

I think email is important enough to control yourself. Here's how.

## Get yourself a PO box

This part 'after the @' is called the domain name. You can get your own for about $20/year. Instead of a fixed address, think of this more like having a PO box.[^po-box-rent]

[^po-box-rent]: The analogy goes deeper, in that you never actually _own_ a domain name. You can only _rent_ it.

Now you just tell the post office where to forward the mail that arrives at this PO box. Today, let's say that's Hotel Fastmail.

![Many business cards that say 'PO Box 1', each with an arrow to a box labelled 'The Post Office'. An arrow labelled 'forward all mail' goes from the post office to 'Hotel Fastmail'.](https://johnnydecimal.com/blog/0274C-PO_box@2x.png)

_Figure 0274C. The rooms really are very nice._

But next year you want to move. No problem: just change a single mail forwarding rule.[^update-mx] Nobody even needs to know that you moved.

[^update-mx]: Technically, by updating the MX record.

![The same business cards and post office. The arrow to 'Hotel Fastmail' is faded, and a new arrow labelled 'change the forward' goes to 'Any other hotel'.](https://johnnydecimal.com/blog/0274D-Any_other_hotel@2x.png)

_Figure 0274D. We're sorry to see you leave._

### Your own domain name

To do this, you register your own domain name. I recommend that it be basically random: don't link it to yourself or your business. This adds a layer of anonymity to your online persona, because now a hacker doesn't even know what domain your account is under, let alone its full address, _let alone_ its password.

You'll also get less spam and phishing attempts. Did you know that spammers just spray email at `<common>.<names>@gmail.com`? Remove yourself from this pool and you're more secure already.

### Pick a name

My strategy is to:

1. Pick something you like. Ducks, say.
2. Make up a 6-character phonetic non-word related to this thing.
3. See if the `.com` is available.

For example, `waddyl.com`. 🦆🦆🦆

If you use AI, I've built this into my [MCP server](https://johnnydecimal.com/software/mcp-server). Connect it to your agent and "ask JD to help me find a domain".

Otherwise you can enter domain names at a registrar like [Porkbun](https://porkbun.com) and it'll tell you if they're available.

### Don't register it yet

If you're following along at home, don't actually register anything yet. Just find yourself a name. We're going to do the registration directly with Fastmail. But that's next time, when this series continues.