It's cool you want to help your friend
Let me overwhelm you...
Getting into coffee, the focus is often on the espresso machine itself. That can be a route for frustration. My priorities look like this:
1. Freshly roasted coffee (not best before dates... but roasted in the last week dates)
1a. optional: Roasts that showcase the natural flavours of the coffee... ie. medium
2. Filtered water (I use a Mavea. Brita would work — avoid off-flavours like I had visiting my parents last weekend— blech!)
3. Good grinder (more consistent the grind the better... otherwise lots of headaches)
4. Then... Espresso maker with temperature control (otherwise cold = sour; hot = bitter)
I expect a bunch of people will swoop in and recommend Breville products.
My humble suggestion is:
A1. if you want a motorized grinder, the Baratza Sette 270 has reliability issues in the past but many of us with it now are happy. The advantage is a good grind fast with decent consistency and it's pretty forgiving in adjustment. Easy to use. No hand cramps.
A2. if you can live with a manual grinder, others can give you more up to date info. I have an original Pharos. It works well but has some ergonomic challenges with lighter roasts. Darker roasts of coffee grind way easier so your coffee preference affects your experience. There are lots of new manual grinders— but lots of people balk at their prices and decide to get an electric one for the same price (even though the electric one at the same price may have worse consistency and produce worse shots). This is where the Sette is a pretty good option.
B. a Flair Signature Edition lever is a nice basic machine with no boiler or steam wand. It delivers great results and is very forgiving. If your grind is too coarse, you can have less lever pressure. If your grind is too fine, you can preinfuse with a light pressure and wait a bit before pulling more. You can also pull, wait, pull wait, to get through a fine grind to get an enjoyable cup. In a pump machine, you can be out of luck if your grind isn't right. With the Flair you can also adjust brewing temperature using the kettle you use to boil water for it. So you'll want a kettle that either has a PID (programmable temperature like the Bonavita) or a kettle with a thermometer in it (I've done both). The signature edition comes with two coffee brewing systems so you can eaily heat both up in a pot with an inch of water, fill both with coffee, and pull one shot after the other.
I have a Gaggia Classic (entry level espresso machine) that I have modified quite a bit to improve its temperature stability (adding a PID) its steaming (swapping its steam wand with the Rancilio Silvia one) and adding preinfusion (with a microcontroller i programmed myself). I also have a Flair Signature Edition + Pharos.
Currently I am travelling... I have used the Flair at home with a Sette and Pharos and while travelling with a Pharos for me and my wife. She is now back home and using the Gaggia + Sette to make her americanos.
Reflecting on both machines... I am happy with both. I do like the control I have with the Flair. It is a way cheaper option to get all the control I had to add to the Gaggia. That being said, the Sette made the Gaggia experience way easier. The grinder is the important thing!