I have a script which will log into a STMP server (GMail's) to send an email notification. How can I do this without distributing the password in plain text?
check if your provider offers an smtp server that doesn't require authentication and use that instead.
Distribute a script, but protect the password