Added support for inboundSMTP and email processing with script.