How to set up email notification with Gmail

Thanks for the pointer.

When I try this I get:

Input command: send-mail
Input arguments:
        -send-mail-password=<my password which has special characters>

Input options:
send-mail-to: username@hotmail.com
send-mail-from: username@hotmail.com
send-mail-url: smtps://smtp.gmail.com:465
send-mail-username: username@gmail.com
send-mail-subject: Testmessage
verbose:
log-level: profiling

Command takes no arguments

Are there limits to the characters in you password when run on the command line?

UPDATE: If I put the password as the last option on the command line it worked.

thanks
david