"iMail", is that a typo or a mail program called that?
the only thing I found called iMail, for a Mac, was a widget that tells you how many unread emails you have in Apple Mail.
if you are using Apple Mail, I don't see the connection with Safari, Chrome or Firefox. Neither of those applications are required for Apple Mail to work.
What application is asking for a password and what happens when you give it?
P
I need help w/ iMail as I have been having issues w/ password prompts. I had found it works better w/ Chrome than Firefox, but am not using either currently due to other issues. I am using Safari. I get the password prompt when trying to send out an email. My Mac is a Macbook Pro mid-2009 model. Can anyone help? My primary mail is Google.

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic