[GH-ISSUE #178] webhook notification #146

Open
opened 2026-02-25 21:34:16 +03:00 by kerem · 16 comments
Owner

Originally created by @mazhigali on GitHub (Mar 21, 2017).
Original GitHub issue: https://github.com/cypht-org/cypht/issues/178

Can you add webhook notification while new email comes?
I would like to use telegram notifications.
Thank you for excellent application and great job

Originally created by @mazhigali on GitHub (Mar 21, 2017). Original GitHub issue: https://github.com/cypht-org/cypht/issues/178 Can you add webhook notification while new email comes? I would like to use telegram notifications. Thank you for excellent application and great job
Author
Owner

@jasonmunro commented on GitHub (Mar 21, 2017):

Thank you for your kind words!
Interesting idea for a module set. Just to clarify, when new messages are detected we would do some sort of authenticated POST to a webhook for a system like Telegram? I presume this is the API we would want to leverage for that: https://core.telegram.org/bots ?

<!-- gh-comment-id:288195638 --> @jasonmunro commented on GitHub (Mar 21, 2017): Thank you for your kind words! Interesting idea for a module set. Just to clarify, when new messages are detected we would do some sort of authenticated POST to a webhook for a system like Telegram? I presume this is the API we would want to leverage for that: https://core.telegram.org/bots ?
Author
Owner

@mazhigali commented on GitHub (Mar 22, 2017):

Yes you are right. I'm using this script https://github.com/rakshazi/telegram-notify. But I think within the module sypth you can come up with a more functional solution. For example, in the message to send the body of the letter and header, And also be able to remove the email from the telegrams like this @GmailBot

<!-- gh-comment-id:288308415 --> @mazhigali commented on GitHub (Mar 22, 2017): Yes you are right. I'm using this script https://github.com/rakshazi/telegram-notify. But I think within the module sypth you can come up with a more functional solution. For example, in the message to send the body of the letter and header, And also be able to remove the email from the telegrams like this @GmailBot
Author
Owner

@marclaporte commented on GitHub (Jul 31, 2022):

For the record:
https://en.wikipedia.org/wiki/Webhook

FYI, we just added Webhooks to Tiki Wiki CMS Groupware:
https://gitlab.com/tikiwiki/tiki/-/merge_requests/1649/

<!-- gh-comment-id:1200490469 --> @marclaporte commented on GitHub (Jul 31, 2022): For the record: https://en.wikipedia.org/wiki/Webhook FYI, we just added Webhooks to Tiki Wiki CMS Groupware: https://gitlab.com/tikiwiki/tiki/-/merge_requests/1649/
Author
Owner

@marclaporte commented on GitHub (May 6, 2024):

Extending this feature request: I would like notifications for emails that fit a specific criteria. So we could add this to https://github.com/cypht-org/cypht/tree/master/modules/saved_searches

<!-- gh-comment-id:2097074661 --> @marclaporte commented on GitHub (May 6, 2024): Extending this feature request: I would like notifications for emails that fit a specific criteria. So we could add this to https://github.com/cypht-org/cypht/tree/master/modules/saved_searches
Author
Owner

@marclaporte commented on GitHub (May 6, 2024):

Another topic: How does this run when we are not currently using Cypht?

Cypht doesn't know IMAP passwords unless user is logged in: https://www.cypht.org/security.html

Todo: Explore http://sieve.info/ to see if there is a standard way of doing this (I would be pleasantly surprised)

One option is to add a Cypht CLI script which handles this. But how can we do this without compromising security?

<!-- gh-comment-id:2097084287 --> @marclaporte commented on GitHub (May 6, 2024): Another topic: How does this run when we are not currently using Cypht? Cypht doesn't know IMAP passwords unless user is logged in: https://www.cypht.org/security.html Todo: Explore http://sieve.info/ to see if there is a standard way of doing this (I would be pleasantly surprised) One option is to add a Cypht CLI script which handles this. But how can we do this without compromising security?
Author
Owner

@marclaporte commented on GitHub (Jul 3, 2024):

@mazhigali We will soon have something ready for testing: https://github.com/cypht-org/cypht/pull/1056

<!-- gh-comment-id:2205946175 --> @marclaporte commented on GitHub (Jul 3, 2024): @mazhigali We will soon have something ready for testing: https://github.com/cypht-org/cypht/pull/1056
Author
Owner

@airbornelamb commented on GitHub (Jul 15, 2024):

@marclaporte this is very exciting. Will this work only for telegram or generic webhooks as well?

Generic webhooks would allow Zapier/Make.com usage so that people can shoot the notifications off to other places as they desire. Opens up some powerful use cases.

<!-- gh-comment-id:2229402444 --> @airbornelamb commented on GitHub (Jul 15, 2024): @marclaporte this is very exciting. Will this work only for telegram or generic webhooks as well? Generic webhooks would allow Zapier/Make.com usage so that people can shoot the notifications off to other places as they desire. Opens up some powerful use cases.
Author
Owner

@marclaporte commented on GitHub (Jul 16, 2024):

@airbornelamb Thank you for the kind words.

I agree. Can you describe a realistic use case so @Shadow243 can handle it?

<!-- gh-comment-id:2229945292 --> @marclaporte commented on GitHub (Jul 16, 2024): @airbornelamb Thank you for the kind words. I agree. Can you describe a realistic use case so @Shadow243 can handle it?
Author
Owner

@airbornelamb commented on GitHub (Jul 16, 2024):

For sure, the biggest use case in front of me would be to send the notification off to Make.com using their generic webhook catch in real-time or near real-time from the message being received. Let me describe in more JTBD...

I am an email power user that has Google workspace accounts at a few companies. Many of them are lower traffic but still demand an urgent response (Within 15 mins ideally). These accounts have been configured in Cypht via Oauth. As a power user, who is frequently on my mobile device, I would like Cypht to send a webhook payload upon receiving an email with the following data: sender, recipient, email subject, email body. I will then utilize Make/Zapier to receive this payload and pass to an alerting service, such as Pushover to alert my phone. This allows me to read incoming emails on mobile without signing into all the accounts or setting up any apps. I can then go to the desktop to respond to important ones.

My most important feature would be real-time alerting of incoming mail.

<!-- gh-comment-id:2229975668 --> @airbornelamb commented on GitHub (Jul 16, 2024): For sure, the biggest use case in front of me would be to send the notification off to Make.com using their generic webhook catch in real-time or near real-time from the message being received. Let me describe in more JTBD... I am an email power user that has Google workspace accounts at a few companies. Many of them are lower traffic but still demand an urgent response (Within 15 mins ideally). These accounts have been configured in Cypht via Oauth. As a power user, who is frequently on my mobile device, I would like Cypht to send a webhook payload upon receiving an email with the following data: sender, recipient, email subject, email body. I will then utilize Make/Zapier to receive this payload and pass to an alerting service, such as Pushover to alert my phone. This allows me to read incoming emails on mobile without signing into all the accounts or setting up any apps. I can then go to the desktop to respond to important ones. My most important feature would be real-time alerting of incoming mail.
Author
Owner

@Shadow243 commented on GitHub (Jul 28, 2024):

For sure, the biggest use case in front of me would be to send the notification off to Make.com using their generic webhook catch in real-time or near real-time from the message being received. Let me describe in more JTBD...

I am an email power user that has Google workspace accounts at a few companies. Many of them are lower traffic but still demand an urgent response (Within 15 mins ideally). These accounts have been configured in Cypht via Oauth. As a power user, who is frequently on my mobile device, I would like Cypht to send a webhook payload upon receiving an email with the following data: sender, recipient, email subject, email body. I will then utilize Make/Zapier to receive this payload and pass to an alerting service, such as Pushover to alert my phone. This allows me to read incoming emails on mobile without signing into all the accounts or setting up any apps. I can then go to the desktop to respond to important ones.

My most important feature would be real-time alerting of incoming mail.

Interesting, I'm gonna try it https://www.make.com/en/api-documentation

<!-- gh-comment-id:2254289966 --> @Shadow243 commented on GitHub (Jul 28, 2024): > For sure, the biggest use case in front of me would be to send the notification off to Make.com using their generic webhook catch in real-time or near real-time from the message being received. Let me describe in more JTBD... > > > > I am an email power user that has Google workspace accounts at a few companies. Many of them are lower traffic but still demand an urgent response (Within 15 mins ideally). These accounts have been configured in Cypht via Oauth. As a power user, who is frequently on my mobile device, I would like Cypht to send a webhook payload upon receiving an email with the following data: sender, recipient, email subject, email body. I will then utilize Make/Zapier to receive this payload and pass to an alerting service, such as Pushover to alert my phone. This allows me to read incoming emails on mobile without signing into all the accounts or setting up any apps. I can then go to the desktop to respond to important ones. > > > > My most important feature would be real-time alerting of incoming mail. Interesting, I'm gonna try it https://www.make.com/en/api-documentation
Author
Owner

@marclaporte commented on GitHub (Aug 6, 2024):

@airbornelamb Do your servers support https://en.wikipedia.org/wiki/IMAP_IDLE ?

<!-- gh-comment-id:2270205367 --> @marclaporte commented on GitHub (Aug 6, 2024): @airbornelamb Do your servers support https://en.wikipedia.org/wiki/IMAP_IDLE ?
Author
Owner

@airbornelamb commented on GitHub (Aug 6, 2024):

@airbornelamb Do your servers support https://en.wikipedia.org/wiki/IMAP_IDLE ?

I'm using Google Workspace over Oauth (following the Cypht guide).. so not sure if it uses IDLE

<!-- gh-comment-id:2270219711 --> @airbornelamb commented on GitHub (Aug 6, 2024): > @airbornelamb Do your servers support https://en.wikipedia.org/wiki/IMAP_IDLE ? I'm using Google Workspace over Oauth (following the Cypht guide).. so not sure if it uses IDLE
Author
Owner

@marclaporte commented on GitHub (Aug 6, 2024):

not sure if it uses IDLE

Ok, we will add an easy way to check: https://github.com/cypht-org/cypht/pull/1148

<!-- gh-comment-id:2271481972 --> @marclaporte commented on GitHub (Aug 6, 2024): > not sure if it uses IDLE Ok, we will add an easy way to check: https://github.com/cypht-org/cypht/pull/1148
Author
Owner

@airbornelamb commented on GitHub (Sep 11, 2024):

Can beta test whenever you get to that point.

<!-- gh-comment-id:2342422005 --> @airbornelamb commented on GitHub (Sep 11, 2024): Can beta test whenever you get to that point.
Author
Owner

@marclaporte commented on GitHub (Dec 10, 2024):

Can beta test whenever you get to that point.

https://github.com/cypht-org/cypht/pull/1148 is available since Cypht 2.2.0 (we are now at 2.4.0)

<!-- gh-comment-id:2532891205 --> @marclaporte commented on GitHub (Dec 10, 2024): > Can beta test whenever you get to that point. https://github.com/cypht-org/cypht/pull/1148 is available since Cypht 2.2.0 (we are now at 2.4.0)
Author
Owner

@muava12 commented on GitHub (Feb 5, 2026):

is this implemented?

<!-- gh-comment-id:3855503130 --> @muava12 commented on GitHub (Feb 5, 2026): is this implemented?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cypht#146
No description provided.