Skip to content

Email logs #125

@MarcoMMartins

Description

@MarcoMMartins

It would be interesting if Netuno enabled automatic logging of sent emails, allowing for better control, auditing, and diagnosis of any sending issues.
Ideally, this feature should be configurable, allowing the log to be enabled or disabled as needed.

Since the application configuration file is in JSON, an option could be added to the SMTP section, for example:

"smtp": {
  "default": {
    "enabled": false,
    "host": "smtp.gmail.com",
    "port": 465,
    "ssl": true,
    "username": "*****@gmail.com",
    "password": "*****",
    "logEmails": true,
    "logLevel": "info"
  },
}

Where:
• ‘logEmails’ would enable or disable the logging of emails sent;
• ‘logLevel’ would define the level of detail in the log (e.g. info, debug, error).
This way, email logging could be controlled through configuration alone, without the need to change the application code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions