Gmail doesn't search for message in Spam or Trash unless you tell it to. Here's how you can include spam and trash in your search results:

  1. Sign in to Gmail.
  2. Click Show search options at the top of any Gmail page.
  3. Select Mail & Spam & Trash from the Search: drop-down menu.
  4. Enter all other criteria for your search in the appropriate fields.
  5. Click Search Mail.

Alternatively, you can use the Advanced Search operators within Gmail to find the message.