Thanks for fast reply.
I'm not sure if I understand what you mean.
How could I fill global variable with result of sending an email (whether email was sent successfully or not)?
If I try:
:set RES [/tool e-mail send to="..." body="..." subject="..."]
variable RES is empty after that.