magento2 – Webroot configuration in the pub /

I have a question and I am not sure if anyone can help me.

I discovered that I have to configure webroot in the pub / folder.

So, what I did was basically change the document root for my domain in my cpanel – additional domains to / public_html / magento2 / pub.

I know you are targeting the pub and my website works.

However, when the product alert email sends the email. All images are broken links. When I inspect the images in my browser, the link adds / pub / media …..

However, my domain should point to the pub folder and I should not add the pub again.

Can anyone tell me if it is normal and also the correct way to change the document root to / pub?

I have a managed cloud hosting with Siteground.

Thank you