Rainbow tables work by storing the hash functions of many potential passwords. When a hash is intercepted, the table can be used to quickly find the original password. This is particularly dangerous in email marketing, where sensitive customer information and email lists can be compromised.