adds an if statement to add a different header for agent specific emails