GMail Sentiment Scanner avatar

GMail Sentiment Scanner

Pricing

from $0.01 / 1,000 results

Go to Apify Store
GMail Sentiment Scanner

GMail Sentiment Scanner

Analyze email trends for team & client communications. Get sentiment scores, response time patterns & communication health insights. This actor connects to Gmail API to analyze your email communications and provides: Sentiment Analysis Client Segmentation Communication Health Trend Detection Alerts

Pricing

from $0.01 / 1,000 results

Rating

0.0

(0)

Developer

The Howlers

The Howlers

Maintained by Community

Actor stats

0

Bookmarked

3

Total users

1

Monthly active users

9 days ago

Last modified

Share

Analyze Gmail email sentiment for team and client communications. Get sentiment scores, response time patterns, and communication health insights. Works with Google Workspace.

BYOK (Bring Your Own Key) -- you provide your own API credentials.


Before You Start

This actor requires your own API credentials to fetch real data.

Where to get your key: OAuth 2.0 access token with Gmail read scope. Get this from Google OAuth flow.

You can test with Demo Mode first (free, no key needed) to see the output format before committing.


Quick Start

Test with Demo Mode (free, no API key needed)

{
"demoMode": true,
"clientId": "",
"dateRange": "last_7_days",
"maxEmails": 100,
"filterType": "all",
"excludeDomains": "noreply,notifications,automated,mailer-daemon",
"segmentByClient": true
}

Run with real data

{
"demoMode": false,
"accessToken": "YOUR_API_KEY_HERE",
"refreshToken": "YOUR_API_KEY_HERE",
"clientId": "",
"clientSecret": "YOUR_API_KEY_HERE",
"dateRange": "last_7_days",
"maxEmails": 100,
"filterType": "all",
"excludeDomains": "noreply,notifications,automated,mailer-daemon",
"segmentByClient": true
}

Input Parameters

ParameterTypeDefaultRequiredDescription
demoModeboolean-NoWhen enabled, returns sample email sentiment data without requiring Google OAuth credentials. Useful for testing.
accessTokenstring-Yes*OAuth 2.0 access token with Gmail read scope. Get this from Google OAuth flow.
refreshTokenstring-Yes*OAuth 2.0 refresh token for automatic token refresh
clientIdstring-NoYour Google Cloud OAuth client ID
clientSecretstring-Yes*Your Google Cloud OAuth client secret
dateRangestring-NoTime period to analyze emails
maxEmailsinteger-NoLimit the number of emails analyzed (max 500 for Apify, unlimited in enterprise)
filterTypestring-NoFilter emails by type
excludeDomainsstring-NoComma-separated list of domains to exclude (e.g., 'noreply.com,notifications.com')
segmentByClientboolean-NoGroup sentiment analysis by external domain (client)

*Required when Demo Mode is off.


Pricing

This actor uses pay-per-event billing:

EventDescriptionPrice
Email AnalyzedEach email analyzed for sentiment$0.01

Demo mode is free -- no charges for sample data.


Troubleshooting

"API key is required"

You have Demo Mode turned off but didn't provide an API key. Either:

  • Turn Demo Mode on to test with sample data
  • Add your API key in the input

"API error 403" or "Unauthorized"

Your API key is invalid, expired, or doesn't have access to this specific API endpoint. Double-check your key and account permissions.

"API error 429" or "Rate limit"

Too many requests. Wait a minute and try again, or reduce the number of items per run.

No results or empty dataset

Check the run log for error messages. Common causes:

  • Invalid input format (check the examples above)
  • API key without proper permissions
  • The target data doesn't exist or is too small to track

How do I test without an API key?

Enable Demo Mode in the input. This returns realistic sample data so you can verify the output format works for your workflow.


Built by John Rippy | Actor Arsenal