Adding stripslashes to email subject line.
Rebuilding Automation Post Type as Class
change defined to class_exists