Speculation: If evidence of Tor usage is in a header visible with full headers (a Yahoo display option), perhaps Yahoo uses that to waylay the email into a spam folder. The evidence might simply be an IP address associated with Tor usage. Maybe Gmail doesn't do the same thing.