Gmail offers private and secure email by Google at no cost, for business and consumer accounts.
Emit new event for each attachment in a message received. This source is capped at 100 max new messages per run.
Emit new event when an email matching the search criteria is received. This source is capped at 100 max new messages per run.
Emit new event for each new email sent. (Maximum of 100 events emited per execution)
Translante a text using machine. [See the documentation](https://translation-api.translate.com/api/documentation?_gl=1*1qes1da*_ga*MTMwNzkzMTg3OC4xNjk1NDE3MDIy*_ga_T51KL347BB*MTY5NTQxNzAyMS4xLjAuMTY5NTQxNzAyMS42MC4wLjA.#/Machine Translation)
Create a draft from your Google Workspace email account. See the documentation
Download an attachment by attachmentId to the /tmp directory. See the documentation
By connecting your personal Gmail account to Pipedream, you'll be able to incorporate email into whatever you're building with any of the thousands of apps that are available on Pipedream.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
gmail: {
type: "app",
app: "gmail",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.googleapis.com/oauth2/v1/userinfo`,
headers: {
Authorization: `Bearer ${this.gmail.$auth.oauth_access_token}`,
},
})
},
})
The Translate.com API on Pipedream enables you to automate translation tasks, making it simpler to handle multilingual content and communication. With this API, you can dynamically translate text between languages, detect the language of input text, or even integrate machine translation into your services or workflows. Pipedream’s serverless platform connects the Translate.com API with hundreds of other apps to streamline your processes, such as automatically translating customer support tickets, social media posts, or updating multilingual content in real-time.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
translate_com: {
type: "app",
app: "translate_com",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://translation-api.translate.com/translate/v1/balance`,
headers: {
"x-api-key": `${this.translate_com.$auth.api_key}`,
},
})
},
})