nextcloud / nextcloud/calendar

Improve meeting invitation email performance

Open
#7,852 6 comments 0 reactions 1 assignee View on GitHub

@SebastianKrupinski is already working on this.

Since Feb 24, 2026.

1. to develop enhancement
Dominant language
JavaScript
Stars
1.2k
Forks
332
Avg merge
16h 13m
Merged PRs (30d)
137

Description

Is your feature request related to a problem? Please describe.

Yes.

When a user creates or updates an event with lots of participants there is a long delay before the event is saved and the modal closes.

This is partially caused by the sending of invitations... as some steps in the saving process... involve the sending of messages using either the system mailer or a mail provider.

This process is not very noticeable with a small amount of participants, but becomes slower and slower as the number of participants grows.

Describe the solution you'd like

There are some options to improve this with task processing,

a) remove the generating and sending of emails from the saving process, by creating a background task processing job to generate and send messages.

b) remove the sending of emails from the saving process, we can still generate emails during the saving process, but do not directly connect to the mail server and send them during the saving process, instead create a task for each message to be sent using task processing.

In both these cases the downside would be a small delay between saving and sending, we would also need to update the event again to update sending status, or notify the user using the notification interface is something went wrong.

Describe alternatives you've considered

No response

Additional context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.