Modern email providers like Gmail, Yahoo, Outlook use extremely sophisticated anti-spam algorithms that use hundreds of factors to determine whether an email is spammy or not. Because so many factors are involved, it's impossible to determine the exact reason for why an email is marked as spam; however, we do know that two of the most important factors are "domain reputation" and "account history".