This is how it works.
At some point one of your login credentials was compromised and released in a dump.
People are sending scam emails out using information from those dumps hoping to scare people into handing out bitcoin.
As long as you've changed your passwords from the original breach then you're cool.
Check whether your login details may have been compromised by going to
https://haveibeenpwned.com