Gents,
I'm wanting to allow "Email notifications" from my application, where by the user would supply their gmail username, password and a "to" address to send the notifications to. I am storing these as application settings, but obviously they'll be unencrypted in the config file.

What's the best way to do this?

I thought about just requiring them to type in their password each time they run the application, that way nothing is stored, but this isn't user-friendly. Is there a different way to send email from the application, much like other apps do where there's a "submit a problem" type functionality?

Thanks.