This workflow automates the process of notifying users about new emails via Telegram and temporarily hosting the email content on a secret HTML page. It is ideal for users who need immediate notifications and a secure, temporary web view of their email content.
From time to time, I find myself wanting to share my paid subscriptions with friends, but giving out OTP codes manually or sharing my email isn't a good idea due to security concerns. I attempted to use the IMAP node to integrate with Telegram secret channel for this purpose but encountered numerous problems, such as difficulties in scraping content from emails. Additionally, the Telegram API sometimes rejects certain special characters found within email contents. After facing these challenges, I discovered that rendering emails as HTML pages and sharing them directly is the most effective solution. This approach bypasses the issues with character limitations and content scraping, providing a seamless way to share subscription benefits securely.
Service/API | Node Type | Description |
---|---|---|
IMAP Email Server | Email Trigger (IMAP) | Triggers the workflow on receiving a new email. |
Telegram API | Telegram | Sends notifications and manages messages in Telegram. |
GitHub Gist API | HTTP Request (Github Gist) | Temporarily hosts email content on GitHub Gist. |
GitHub Gist API (Deletion) | HTTP Request (Github Gist β) | Deletes the temporary GitHub Gist after a specified time. |
Wait | Wait | Delays the workflow for a specified period. |
For any questions or issues, refer to the respective API documentation for each service used or consult the n8n community for support.
Implement complex processes faster with n8n