fixes to import email template script to include bad statuses