Some important remarks about stuff like:
code:
Messenger.OpenChat(Email).SendMessage("something");
Better never use that.
Before sending a message you should always check if you actually can send a message (and if that conversation window can actually be opened). It is quite possible that you can't even send something because you've blocked the contact, or because the window can't be opened, or the contact has a mobile phone and you need to sign up first for credits, or whatever...
So:
code:
var oChatWnd = Messenger.OpenChat(Email);
if (oChatWnd.EditChangeAllowed) {
oChatWnd.SendMessage("something")
}
This important check is way too often forgotten in extremely many scripts.
See
Plus! Scripting Documentation. This is also explained in the help of the SendMessage() function...