An email address belonging to a user in the workspace
async
(params, auths) => {
}
const data = {
email: params.email,
}
const config = {
url: `https://slack.com/api/users.lookupByEmail`,
headers: {
Authorization: `Bearer ${auths.slack.oauth_access_token}`,
"Content-Type": "application/x-www-form-urlencoded",
},
params: data
}
return await require("@pipedreamhq/platform").axios(this, config)