Privacy policy
Last updated
This policy covers this website and the iHsinGmailBot instance operated by iHsin. You can visit these pages without connecting a mailbox. The bot can access a mailbox only after its owner grants access through Google.
What the bot accesses and why
The bot uses the gmail.modify permission to check for new mail, create previews, and find and display messages. It reads Gmail’s mailbox history ID to track changes, along with message and thread IDs, labels, senders, recipients, subjects, dates, message bodies, and calendar invitations. Once it delivers a new email notification to Telegram, it marks the email as read in Gmail.
In the linked Telegram chat, the bot processes chat and message IDs, search terms, button selections, replies you type, and forwarding addresses. At your request, it can send replies, forward messages, respond to invitations, and update labels through Gmail. It asks for confirmation before moving a message to the trash.
Who receives the data
Google handles authorization and Gmail API requests. Cloudflare Workers runs the bot and processes email data. Telegram receives the subjects, senders, previews, and invitation details the bot posts in the linked chat. When you open a message there, Telegram also receives its body. When you reply or forward a message, Gmail sends its contents to the recipients.
This service uses Google user data only for the features described here. It does not sell that data or use it for advertising or training general-purpose AI models. Its use and transfer of data from Google APIs follows the Google API Services User Data Policy, including the Limited Use requirements.
Where data is stored and for how long
When the operator connects a mailbox, Cloudflare Worker Secrets stores credentials such as the OAuth refresh token. The running Worker temporarily caches access tokens in memory and reads email bodies as it processes requests. The bot’s database stores the last Gmail history ID it checked, pending email IDs, recent Telegram update IDs, and the state needed for search pagination and pending chat actions. After an upgrade, the bot may also read existing sync or chat state from Cloudflare KV.
Search pagination and pending chat actions expire after ten minutes. Expired records may remain until overwritten or cleared. The bot keeps sync records for the next mailbox check and to retry failed deliveries. Copies sent to Telegram stay in the chat history, where you can delete them.
Revoke access or delete data
To revoke mailbox access, open your Google Account connections, select iHsinGmailBot, and remove its access. To delete credentials and sync records stored by the service, contact the operator below. You can manage sent mail in Gmail and chat messages in Telegram.
Contact the operator
For privacy questions or deletion requests, email itsusinn.hk@gmail.com. You can make a request without sharing a password, an OAuth token, or the contents of any email.