adding the match and fields required to match for email output