Metadata is collected through various tools and techniques used by email service providers and marketing platforms. These tools often include tracking pixels, UTM parameters, and integrated analytics systems that capture and relay data back to the marketer.