Rules engine for processing incoming emails.