Email verification service provider.
With the Mailrefine API you can:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mailrefine: {
type: "app",
app: "mailrefine",
}
},
async run({steps, $}) {
const data = {
"email": `your_email_here`,
}
return await axios($, {
method: "post",
url: `https://app.mailrefine.com/api/v1/single-email-verify`,
params: {
api_token: `${this.mailrefine.$auth.api_key}`,
},
data,
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})