DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Gmail - how to use the label:^smartlabel operator to filter/label Receipts.  (Read 5,348 times)

IainB

  • @Slartibartfarst
  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 7,544
I don't know how long this functionality has been available in Gmail, but I only now came across it in the GoogleSystem blog post copied below. It works rather well. Quite nifty.
(Copied below sans embedded hyperlinks/images.)
Quote
Find Gmail Receipts
May 28, 2013

Here's a way to find your receipt messages from Gmail: search for label:^smartlabel_receipt. This feature is powered by the Smart Label experiment from Gmail Labs, but you don't need to enable that experiment.
I've found receipts from PayPal, Google Play and Google Checkout, order confirmations from eBay, Amazon and other shopping sites. Gmail automatically detects receipts, just like it finds notifications, social updates, forum messages and other categories of messages.
The Smart Label feature from Gmail Labs creates filters that automatically label messages and convert system labels like ^smartlabel_receipt to user labels like Receipts. You can manually do that for receipts: click the arrow from the search box, type label:^smartlabel_receipt in the "has the words" field, click "create filter with this search", click "OK" and ignore the warning, select "Apply the label" and then "new label", create a label called "Receipts", check "Also apply filter to * matching conversations" and click "Create filter". You'll get a receipts label:

Posted by Alex Chitu at 5/28/2013 03:35:00 AM
This rather irritates me as I thought I had plenty of reason to leave Google, and then they go and do this...  (sigh).

wraith808

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 11,205
    • Participated in NANY Challenge Fourteen Times
    • Coding Snacks
    • Writer
    • Hardware Hacker
I use Slice for this, and it works very well... and includes tracking.

https://www.slice.com/

IainB

  • @Slartibartfarst
  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 7,544
^^ That could be rather useful. Never seen that before.

Original address: https://www.donationcoder.com/forum/index.php?topic=35053.0