Skip to content

Password deletion email notification shows object creation/modified date instead of deletion timestamp #258

Open

Description

@popovych668

When a user deletes a password (resource), Passbolt sends an email notification (e.g., "User deleted the password X"). However, the timestamp displayed in the email body (under the user's name) corresponds to the "resource creation or last modification date", rather than the "actual timestamp when the deletion event occurred".

This leads to critical misunderstandings among users and management, as receiving an email dated several months in the past creates the illusion of a severe 5-month email queue delay or mail server breakdown.

Steps to Reproduce

  1. Create or edit a password resource on "June 1, 2026".
  2. Delete the password resource on "October 29, 2026".
  3. Check the inbox for the email notification ("<User> deleted the password <Name>").
  4. Observe the timestamp displayed inside the email body underneath the user's name.

Expected Behavior
The email body should display the timestamp when the "deletion event actually took place" (e.g., Oct 29, 2026, 11:57 (UTC)) or explicitly clarify what the date refers to (e.g., "Resource created on: Jun 1, 2026").

Actual Behavior
The email notification is sent immediately (on Oct 29, 2026), but the body displays:

User deleted the password Mail
"Jun 1, 2026, 11:30 (UTC)"

This misleads administrators and security auditors into thinking the email was stuck in the Email Queue / Worker for 5 months.

Proposed Solution

  1. Update the email template variable mapping for resource_deleted notifications to use the event execution timestamp ($event->created / current UTC timestamp) instead of $resource->modified or $resource->created.
  2. Alternatively, adjust the label in the email layout to explicitly state: Created/Modified on: <Date>.
Image

Activity

  1. OksanaPid commented on Nov 12, 2026

    @OksanaPid

    I had the same experience — this was quite misleading. I fully agree with your point!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions