per-state configs for email and pdf instructions, use values in pdf and email generation, refactor emails to have a longer list of html_safe variables available in the template