What do you want to automate

with mails.so and Google Perspective?

Prompt, edit and deploy AI agents that connect to mails.so, Google Perspective and 2,900+ other apps in seconds.

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Validate Email with the mails.so API

Send an email address to be validated by the API. See the documentation

 
Try it
Integrate the mails.so API with the Google Perspective API
Setup the mails.so API trigger to run a workflow which integrates with the Google Perspective API. Pipedream's integration platform allows you to integrate mails.so and Google Perspective remarkably fast. Free for developers.

Connect mails.so

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    mails_so: {
      type: "app",
      app: "mails_so",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.mails.so/v1/validate`,
      headers: {
        "x-mails-api-key": `${this.mails_so.$auth.api_key}`,
      },
      params: {
        email: `john.smith@example.com`,
      },
    })
  },
})

Connect Google Perspective

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import { google } from 'googleapis';

export default defineComponent({
  props: {
    google_perspective: {
      type: "app",
      app: "google_perspective",
    }
  },
  async run({ steps, $ }) {
    const client = await google.discoverAPI("https://commentanalyzer.googleapis.com/$discovery/rest?version=v1alpha1");
    const analyzeRequest = {
      comment: {
        text: 'Jiminy cricket! Well gosh durned it! Oh damn it all!',
      },
      requestedAttributes: {
        TOXICITY: {},
      },
    };
    return await client.comments.analyze({
      key: this.google_perspective.$auth.api_key,
      resource: analyzeRequest,
    });
  },
})

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo