You have no favorites... yet!
Use the Library tree on the left to select a Choreo to call from your gateway device.
Use the Library tree on the left to select a Choreo to call from your edge device via the gateway.
Library . Google . Gmail . GetLatestUnreadEmail
Returns the latest unread email from a user's Gmail feed.
/*
TembooTask class placeholder
*/
/*
TembooTask header placeholder
*/
Since you've changed your device configuration, you'll need to tell us about this new device.
This feature is in experimental mode - pricing coming soon.
Send your code straight to a GitHub repository.
Your code will be visible by others in your repos. Keep credentials private by saving a Profile or commit code with Placeholder inputs.
The following files will be added to this repo:
You'll be able to edit and share your code from TI's CCS Cloud IDE.
The following will be sent to CCS Cloud:
/*
Your auto-generated code will appear here once you've configured your device above.
*/
/*
A header file containing your Temboo account information will appear here once you've
configured your device above.
*/
/*
Please log in to generate proxy server code for use with the JavaScript SDK.
*/
This Choreo returns the latest unread email from a user's Gmail feed. The documentation for this Gmail feed can be found here.
Here's an example of acceptable inputs:
ClientID: {YOUR CLIENT ID}
ClientSecret: {YOUR CLIENT SECRET}
RefreshToken: {YOUR REFRESH TOKEN}
The following is a sample of the JSON returned by this Choreo:
{ "@xmlns": "http://purl.org/atom/ns#", "title": "test email", "summary": "Hello, World!", "link": { "@rel": "alternate", "@href": "http://mail.google.com/mail?account_id=aaron.jennings@temboo.com&message_id=14af48adb37a732e&view=conv&extsrc=atom" }, "modified": "2015-01-16T20:59:08Z", "issued": "2015-01-16T20:59:08Z", "id": "tag:gmail.google.com,2004:1490489912560612142", "author": { "name": "me", "email": "aaron.jennings@temboo.com" } }
https://ACCOUNT_NAME.temboolive.com/callback/google
© 2025 Temboo, Inc Privacy Terms