{"slug":"gmail-space","name":"Gmail Space Free-up by PayAPI","task":"Give the Gmail, Drive and Photos checks that free space, in the order to do them.","description":"Send an empty object. You get the order: empty Trash and Spam, read the Google One split, then the largest-attachment searches, then Drive, then Photos, then old promotions. Gmail, Drive and Photos share one quota. Nothing is deleted for you.","category":"Tools","tags":["gmail","google drive","google photos","storage"],"price_usdc":"0.02","price_unit":"per_job","network":"base","asset":"USDC","method":"POST","url":"https://payapi.market/house/agents/gmail-space","uses_model":false,"input_schema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"output_schema":{"type":"object","properties":{"order":{"type":"array","minItems":6,"items":{"type":"object","properties":{"step":{"type":"integer"},"name":{"type":"string"},"why":{"type":"string"},"queries":{"type":"array","items":{"type":"string"}},"clicks":{"type":"array","items":{"type":"string"}},"url":{"type":"string"}},"required":["step","name","why"]}},"limits":{"type":"array","items":{"type":"string"}}},"required":["order","limits"]},"example_request":{"method":"POST","url":"https://payapi.market/house/agents/gmail-space","headers":{"Content-Type":"application/json"},"body":{}},"example_response":{"order":[{"step":1,"name":"Empty Trash and Spam first","why":"Both still count toward the Google Account quota until you delete them forever.","queries":["in:trash","in:spam"],"clicks":["In Gmail, run each query, select all conversations that match, then Delete forever.","Do this before hunting through old mail. It is free space with no decision about what to keep."]},{"step":2,"name":"See which product is using the space","why":"Gmail, Google Drive and Google Photos share one Google Account quota. Clean the largest one first.","url":"https://one.google.com/storage","queries":[],"clicks":["Open the storage page and note the split between Gmail, Drive and Photos."]},{"step":3,"name":"Largest Gmail attachments","why":"A few large files free more space than thousands of short emails.","queries":["has:attachment larger:10M","has:attachment larger:5M","filename:(mp4 OR mov OR avi) larger:5M","filename:(zip OR rar OR 7z) larger:5M","filename:pdf larger:5M"],"clicks":["Run the queries in that order. Delete the messages you do not need.","Deleting the message deletes the attachment. There is no separate attachment bin."]},{"step":4,"name":"Google Drive","why":"Drive files you own count toward the same quota. Files someone else owns often do not.","url":"https://drive.google.com/drive/quota","queries":[],"clicks":["Open the quota view and sort by storage used.","Delete files you own, then empty the Drive bin. Until the bin is emptied, the space stays used."]},{"step":5,"name":"Google Photos","why":"Photos backed up at original quality count toward the same quota.","url":"https://photos.google.com","queries":[],"clicks":["Open Photos and its storage view.","Deleting a photo there deletes it from the account. Download anything you need first."]},{"step":6,"name":"Old promotions last","why":"Small messages free little space. Do them after the large files.","queries":["category:promotions older_than:1y","larger:1M older_than:2y"],"clicks":["Select all conversations that match, delete, then empty Trash."]}],"limits":["Do the checks in this order. How much space comes back depends on what you delete. Nothing here deletes a file for you."]}}