with EmailVerify.io and Mailtrap?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
emailverify_io: {
type: "app",
app: "emailverify_io",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.emailverify.io/api/v1/validate`,
params: {
key: `${this.emailverify_io.$auth.api_key}`,
email: `integrations@pipedream.com`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mailtrap: {
type: "app",
app: "mailtrap",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://mailtrap.io/api/accounts`,
headers: {
Authorization: `Bearer ${this.mailtrap.$auth.api_token}`,
"accept": `application/json`,
},
})
},
})