TLDR; If you get an email claiming they have xxx pics of you via your webcam or other media, they probably don’t. They may send you photos that you have made publicly available on Facebook or some other social media. They may also have some confidential information on you like an old password. More than likely some service you have used in the past was compromised and old data is available on the dark web.
Don’t fall for the blackmail scam!