A problem is that nearly all new IP Cameras try to sell a cloud service to get the bought functionality.
My old foscam outdoor is nearly inaccessible from a web browser after the latest update.
I now use motioneyeos on a raspi and/or the synology surv.station to manage the cameras instead of the expensive cloud or instead of multiple apps on my phone.
I had some trouble to send e-mails via smtp.
smtp.gmail.com
SSL Port 465 TLS Port 25 or 587
The solution is to go to your google account, security and allow not so secure apps. Done.