Let me clarify, again. I'm not using the XEP to send emails, there's not flexibility using just the XEP. A script on the PC connects to the XEP and monitors the log stream. The script determines which events are interesting and sends an email-to-text message to my phone.