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.
The solution is to go to your google account, security and allow not so secure apps. Done.