Cannot use Mac Mail to send email via my two gmail accounts (e.g. iPhotos)
To send photos from within the iPhoto app:

If you get this message in iPhoto when sending email:



Then you need to enter the new/correct password for your gmail (you can find it in your keychain)

To tell it the new password open iPhoto preferences and enter new correct password there.

Here are settings on my mac that work.