with Mailboxlayer and Mailrelay?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mailboxlayer: {
type: "app",
app: "mailboxlayer",
}
},
async run({steps, $}) {
return await axios($, {
url: `http://apilayer.net/api/check`,
params: {
access_key: `${this.mailboxlayer.$auth.api_key}`,
email: `code.whisperer@pipedream.com`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mailrelay: {
type: "app",
app: "mailrelay",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.mailrelay.$auth.domain}/api/v1/package`,
headers: {
"x-auth-token": `${this.mailrelay.$auth.api_key}`,
},
})
},
})