with Datagma and mails.so?
Send an email address to be validated by the API. See the documentation
The Datagma API allows for the extraction and analysis of valuable data from emails. By using this API, you can automate the process of parsing emails to retrieve information like signatures, contact details, and other pertinent data. In Pipedream, this functionality becomes a powerful tool for creating workflows that can help to streamline business processes, enhance customer relationship management, or fuel data enrichment strategies.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
datagma: {
type: "app",
app: "datagma",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://gateway.datagma.net/api/ingress/v1/mine`,
params: {
apiId: `${this.datagma.$auth.api_key}`,
},
})
},
})
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`,
},
})
},
})