mirror of
https://github.com/cypht-org/cypht.git
synced 2026-04-25 04:56:03 +03:00
[GH-ISSUE #178] webhook notification #146
Labels
No labels
2fa
I18N
PGP
Security
Security
account
advanced_search
advanced_search
announcement
api_login
authentication
awaiting feedback
blocker
bug
bug
bug
calendar
config
contacts
core
core
devops
docker
docs
duplicate
dynamic_login
enhancement
epic
feature
feeds
framework
github
github
gmail_contacts
good first issue
help wanted
history
history
imap
imap_folders
inline_message
installation
keyboard_shortcuts
keyboard_shortcuts
ldap_contacts
mobile
need-ssh-access
new module set
nux
pop3
profiles
pull-request
question
refactor
release
research
saved_searches
smtp
strategic
tags
tests
themes
website
wordpress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cypht#146
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
@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 ?
@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
@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/
@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
@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?
@marclaporte commented on GitHub (Jul 3, 2024):
@mazhigali We will soon have something ready for testing: https://github.com/cypht-org/cypht/pull/1056
@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.
@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?
@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.
@Shadow243 commented on GitHub (Jul 28, 2024):
Interesting, I'm gonna try it https://www.make.com/en/api-documentation
@marclaporte commented on GitHub (Aug 6, 2024):
@airbornelamb Do your servers support https://en.wikipedia.org/wiki/IMAP_IDLE ?
@airbornelamb commented on GitHub (Aug 6, 2024):
I'm using Google Workspace over Oauth (following the Cypht guide).. so not sure if it uses IDLE
@marclaporte commented on GitHub (Aug 6, 2024):
Ok, we will add an easy way to check: https://github.com/cypht-org/cypht/pull/1148
@airbornelamb commented on GitHub (Sep 11, 2024):
Can beta test whenever you get to that point.
@marclaporte commented on GitHub (Dec 10, 2024):
https://github.com/cypht-org/cypht/pull/1148 is available since Cypht 2.2.0 (we are now at 2.4.0)
@muava12 commented on GitHub (Feb 5, 2026):
is this implemented?