mirror of
https://github.com/cypht-org/cypht.git
synced 2026-04-25 13:05:53 +03:00
[GH-ISSUE #641] Scheduled sending of an email (cron-like functionality) #432
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#432
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 @dumblob on GitHub (Oct 17, 2022).
Original GitHub issue: https://github.com/cypht-org/cypht/issues/641
Motivation
E-mail services evolved over time and for practical business people tell me they expect an email service offering scheduled sending (to get "higher" in Monday's unread emails; to send marketing stuff prepared earlier; to not disturb your better half, etc.).
Envisioned solution
part: Email composure shall have a "split
sendbutton" - the second half beingmoreoradvancedopening a simple "panel" with few buttons and a date & time chooser. Buttons could be predefined prefill options:deschedule(cancelling any scheduling immediately - i.e. not first after "save" or whatever "form confirmation")5 minutes later1 hour later24 hours later.The panel could be collapsing/uncollapsing in the page - the good old tags
<details>&<summary>would be my first go-to option 😉 (or in worst case a modal which I dislike due to poor user friendliness especially on mobile devices and other usability issues etc.).part: A GUI interface for editing & cancelling already scheduled emails. Maybe just tagging the given emails in the
draftsfolder listing (and when opened for editing, then auto-expand themorepanel using<details open>...</details>and greying-out the defaultsendbutton until a user choosesdescheduleas described above).Remarks
What to do with the schedule itself in case the user opens a scheduled email from the drafts folder and press
send(i.e. sends it immediately). One option is to make "normal send" and "scheduled send" mutually exclusive (this must be also reflected in the UI by greying out the buttons etc.) in which case we wouldn't need to implement anything special - the used would need to first pressdeschedulein the extended menu and then finally she would be allowed to presssend.Then there is of course another option - to let the user send the scheduled draft without cancelling schedule (i.e. not mutually exclusive) and thus the email would be sent out immediately but at the same time remained in the drafts folder until the scheduled interval fires.
This is a tough thing to decide IMHO - in the end I tend to slightly prefer the former as it sound a bit simpler (the principle of least surprise for the user).
Related: https://github.com/jasonmunro/cypht/issues/572 (also requires cron-like backend)
@dumblob commented on GitHub (Oct 18, 2022):
Closing in favor of https://github.com/jasonmunro/cypht/issues/576 (which I did not find in the tracker for some reason).