How to Import PayPal Customers to Google Sheets
PayPal has no list of customers you can export. Instead, Mail Merge reads your PayPal transactions for the dates you pick and copies each buyer’s name, email and address into a Google Sheet. You can then send each buyer a personal email from Gmail.
Create a PayPal app
Section titled “Create a PayPal app”The add-on connects with the keys of a PayPal app that can only search your transactions.
-
Open the PayPal Developer Dashboard and click Create App. Name the app, like Mail Merge, and click Create App.
-
Under the app’s features, untick everything except Transaction search, then click Save Changes.

Turn on Transaction search only. -
Scroll up to the app’s credentials and click Show to see the Client ID and Secret. Copy both.

Copy the Client ID and Secret from the app's page.
Import the buyers
Section titled “Import the buyers”-
In your Google Sheet, go to Extensions > Mail Merge with Attachments > Import Contacts.

Open Import Contacts from the Extensions menu in Google Sheets. -
Under Import data from, choose Paypal. Paste the Paypal Client ID and Paypal Secret from your app.
-
Pick a Start Date and End Date for the transactions you want, then click Get Fields.
-
Under Contact Fields, pick the buyer details you want as columns, like payer.email_address and payer.payer_name.
-
Under Import Location, choose Append to current sheet or Create a new sheet, then click Import data.

Paste the credentials, pick a date range and fields, then click Import data.
Use the imported columns
Section titled “Use the imported columns”Row 1 gets the PayPal field names, like payer.payer_name, and those become your merge fields. Rename them to short titles like Name and Email Address before you write your email, so the merge fields are easy to type. When you set up the merge, choose the email column in the Send to field under Recipients.
Things to know
Section titled “Things to know”- The rows come from transactions, so a buyer who paid you more than once can appear on more than one row. Check for repeats before you send.
- When you’re done importing, disable the app’s secret in the PayPal Developer Dashboard. The buyers you already imported stay in your sheet.
- Curious how it works? This tutorial shows how the PayPal API is used with Google Apps Script to import transactions.
