Skip to content

Improving subject in email notifications #3720

Closed

Description

@chenlica

Here's a sample email notification:

From: [email protected]
Date: Tue, Sep 9, 2025 at 7:02 AM
Subject: New Account Request Pending Approval
To: [email protected]

Hello Admin,

A new user has attempted to log in or register, but their account is not yet approved.
Please review the account request for the following email:

[email protected]

Thanks!

—
Sent from: texera.dknet-ai.org

Multiple Texera deployments use the same email subject, which can be confusing. It will be good to change the subject "New Account Request Pending Approval" to "New Account Request Pending Approval for [server name]".

We want to make the similar change to other email notifications.

Activity

  1. seongjinyoon commented on Sep 9, 2025

    @seongjinyoon
    Contributor
  2. chenlica commented on Sep 10, 2025

    @chenlica
    ContributorAuthor

    We are checking how it's related to earlier PR #3548 .

  3. bobbai00 commented on Sep 10, 2025

    @bobbai00
    Contributor

    The logic of retrieving domain name is in this file: https://github.com/apache/texera/blob/main/core/config/src/main/scala/edu/uci/ics/texera/config/UserSystemConfig.scala , which is the correct way as it can adaptively retrieve actual value from either environment variable or config file. However, PR #3548 looks problematic because it came up with a different logic of retrieving the domain name, which can only retrieve the value from the config file, not the environmental variable. Replacing it to with the correct logic should fix the problem

  4. chenlica commented on Sep 10, 2025

    @chenlica
    ContributorAuthor

    @bobbai00 Thank you. @seongjinyoon : can you raise another PR to fix it?

  5. chenlica commented on Sep 10, 2025

    @chenlica
    ContributorAuthor

    @seongjinyoon Make sure to test your fix. Also see if you can add test cases.

  6. added a commit that references this issue on Sep 12, 2025
    d349c49
  7. added a commit that references this issue on May 20, 2026
    174060c
  8. added a commit that references this issue on Jun 22, 2026
    2fcd1cf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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