Security

Find and tidy old bank statement attachments in your email

How to find bank statements in Gmail with search operators, label them, save the attachments and delete old statement emails safely, with a five-year example.

Editorial illustration for Find and tidy old bank statement attachments in your email

To find bank statements in Gmail, use search operators such as has:attachment and filename:pdf along with the sender and a date range, label the results, download the attachments to a safe folder, check the count, and only then delete the emails. Done in that order, a five-year-old inbox can be tidied in an evening.

Which search operators find statement emails?

Type these into the Gmail search box. You can combine as many as you like, separated by spaces.

  • has:attachment finds messages with files attached.
  • filename:pdf narrows to PDF attachments; use filename:csv or filename:xlsx for spreadsheet statements.
  • from:name searches by sender; use part of the sender's address or name as it appears on your messages.
  • subject:statement finds a word in the subject line.
  • after:2021/04/01 and before:2022/04/01 limit the date range, which suits an April to March financial year.
  • older_than:2y finds messages older than two years; newer_than works the same way.
  • label:name restricts the search to one label.

For example: has:attachment filename:pdf subject:statement after:2021/04/01 before:2022/04/01 finds PDF statements from one financial year. Check that the sender and subject terms match what your bank actually uses in its messages.

How do you collect them with a label?

  1. Create a label called Statements, with a sub-label for each year, such as FY 2021-22.
  2. Run a search for one year and one bank.
  3. Select all the results. If there are more than one page, use the option to select all conversations that match the search.
  4. Apply the year's label.
  5. Repeat for each year and each bank or card.
  6. Open the label and scan the list for anything that does not belong.

You can also set a filter on the same search so that future statements get the label automatically.

What does a five-year example look like?

Say you have five financial years, April 2020 to March 2025, with two savings accounts and a credit card. That is 3 accounts times 12 statements times 5 years, which is 180 emails with PDFs if every month was delivered. Run the date-range search for one year and one account: you should see about 12 results. If you see 9, three months are missing from the inbox and you may need to download them from the bank's own site.

YearExpected emails (3 accounts x 12 months)Found in labelAction
FY 2020-213636Download
FY 2021-223633Fetch 3 from the bank
FY 2022-233636Download
FY 2023-243636Download
FY 2024-253636Download

Those numbers are made up for illustration; use your own counts.

How do you save the attachments before you delete anything?

  1. Open a labelled message and download the attachment, or use a download-all option on a conversation.
  2. Save into a folder named by financial year, then place the folder in encrypted storage.
  3. Count the files and compare with the label count.
  4. Open two or three of them to make sure they are not blank or corrupted.
  5. Take a backup copy and test it on another device.

When is deleting a good idea?

Old statement emails are a goldmine for anyone who gets into your inbox: they carry account details, balances and your name. Once the files are in your encrypted folder, deleting the emails shrinks what a stolen email account can reveal. Keep any that you may need as evidence for something live, such as a dispute or an open query with a CA, and ask your CA before clearing records for a year you may still be asked about.

Can an expense tracker take over from the inbox?

Partly. If you import each statement into SpendixAI by uploading the file and reviewing the rows, your transaction history lives in your workspace, and you can export what you need later. That does not replace keeping the original statement for years you may be asked about, so keep the encrypted archive too.

A short routine

  • Search by year and bank, and label.
  • Download, count and open.
  • Back up and test.
  • Delete, then empty the Trash only after a few weeks.
  • Add a filter so next year's statements label themselves.
SPENDIXAI JOURNAL

Useful ideas start with a clearer picture of your own spending.

Explore your reports