Connectilogs Panel | Mail History

Connectilogs Panel | Mail History

What is this collection 
The collection Email History contains information about emails that have been processed by the mail server for sending. Each row represents an individual message and records information related to the sender, recipient, delivery status, and technical details of the sending process.

Simply put, this collection allows you to know which emails have left the server, whether they have been delivered correctly, and what happened during the delivery process.


What it is for 
The collection Email History serves to analyze email sending activity.

It allows you to investigate delivery incidents, verify that messages have arrived correctly to their recipients, and detect possible problems in email configuration or reputation.

For example, this collection allows you to:

  • Verify email deliveries: check if a message has been accepted and delivered by the remote server. This is useful when a user indicates they have sent an email but don't know if it arrived correctly to the recipient.
  • Investigate sending errors. When an email cannot be delivered, this collection records information that helps identify the cause of the problem.
  • Analyze sending activity: It allows you to know which accounts are sending emails and the volume of activity associated with each one. This is useful for audits or for detecting anomalous behavior.
  • Detect possible abuses: An unusual volume of messages sent from an account may indicate compromised credentials or misuse of an email account.
  • Review recipients and destination domains: It allows you to identify which recipients or domains emails are being sent to and analyze possible recurring delivery incidents.


How to read this collection in a simple way 
A useful way to understand Email History is to think like this:
  • one row = one sent email,
  • a sender = who sent the message,
  • a recipient = who received the message,
  • a status = delivery result,
  • a date = when the sending was made,
  • a reason = explanation of the result obtained.

If you want to know what happened with a sent email or investigate delivery problems, the appropriate collection is Email History.


Field descriptions 
FieldTypeDescription
delivered_atDate and timeDate and time when the email delivery was attempted in UTC timezone.
dsnCategoricalDelivery status code. Codes 2.x.x indicate successful delivery, 4.x.x temporary failure (active retries), and 5.x.x permanent failure.
message_idCategoricalUnique identifier of the email.
queue_idCategoricalIdentifier of the sending process on the mail server.
reasonCategoricalResponse from the destination server indicating confirmation or rejection reason.
recipientCategoricalRecipient's email address.
relayCategoricalRemote server used for delivery (domain, IP, and port).
remote_hostCategoricalDestination server that processed the email.
sasl_userCategoricalAuthenticated user who made the sending.
senderCategoricalSender's email address.
statusCategoricalSending status: sent, deferred, bounced, or expired.

client 
Data type: categorical text

Identifies the client or system that initiated the sending of the message.

It normally contains information about the origin of the connection that generated the email.

It can be useful to identify where a specific sending originated.


delivered_at 
Data type: date and time

Indicates the date and time when the delivery result of the message was recorded.

It allows you to reconstruct chronologically the sending activity and analyze incidents in specific periods.


dsn 

Data type: categorical text

Corresponds to the DSN (Delivery Status Notification) code.

These codes are standards used by mail servers to indicate the result of a delivery.

They help classify whether a message was delivered correctly or if an error occurred.


message_id 
Data type: categorical text

Unique identifier associated with the email message.

It allows you to locate a specific email and relate different events associated with the same sending.

It is one of the most useful fields for detailed investigations.


queue_id 
Data type: categorical text

Internal identifier used by the mail server during message processing.

It is useful for support tasks and technical investigation.


reason 

Data type: categorical text

Describes the reason associated with the delivery result.

When there is an error, this field usually contains relevant information about the cause of the problem.

It is one of the most important fields for diagnosing email incidents.


recipient 

Data type: categorical text

Indicates the recipient's email address of the message.

It allows you to identify who was supposed to receive the email and analyze incidents associated with specific recipients.


relay 

Data type: categorical text

Indicates the remote server responsible for receiving or processing the email.

It is useful for analyzing the message's journey and detecting problems associated with specific servers.


remote_host 

Data type: categorical text

Identifies the remote host involved in the delivery process.

It can be used to investigate incidents related to specific destination servers.


sasl_user 

Data type: categorical text

Indicates the authenticated user who made the message sending.

This field allows you to know which email account actually originated the sending.

It is especially useful for audits and activity analysis.


sender 

Data type: categorical text

Indicates the sender's email address.

It allows you to identify from which account the message was sent.


status 

Data type: categorical text

Indicates the final result of the delivery process.

Some common examples are:

  • sent
  • deferred
  • bounced
  • rejected

This field allows you to quickly identify if the email was delivered correctly or if any problem occurred.


How this collection can help you in real situations 
  • If a user indicates that an email has not arrived: You can search for the message using the sender, recipient, or message_id and review the status field to check what happened.
  • If you need to know the reason for a delivery failure: You can analyze the status, reason, and dsn fields to identify the exact cause of the problem.
  • If you suspect unauthorized mass sending: You can group by sasl_user or sender to detect accounts with unusual sending volumes.
  • If you want to verify that an email was sent correctly: You can review the delivery status and confirm if the remote server accepted the message.
  • If you want to analyze recurring problems with a destination domain: You can review the recipient, relay, and remote_host fields to detect error patterns associated with specific servers.

    • Related Articles

    • Connectilogs Panel | Mail Login History

      What is this collection The Email Login Sessions collection contains the history of authentications and accesses made to email accounts. Each row represents an event related to an email account, such as a successful login, a failed access attempt, or ...
    • ConnectiLogs Panel | Log Management

      What is ConnectiLogs? ConnectiLogs is the visualization, analysis, and exploration platform for activity and security data from cdmon products. Its goal is to centralize all the information generated by the different services in order to facilitate ...
    • ConnectiLogs Panel | Dashboards

      Dashboards in ConnectiLogs are customizable panels that allow you to easily visualize the most relevant information from your data. Their main advantage is that they let you access the information you need quickly and directly, without having to ...
    • ConnectiLogs Panel | Query Generator

      The query builder is a tool that allows you to explore your ConnectiLogs data in a customized way, without needing to use code or technical language. With it, you can create filters, combine conditions, visualize results with different types of ...
    • ConnectiLogs | Log Management (Logs) of cdmon Hostings

      The tool ConnectiLogs is designed to provide clear and easy access to the logs of the hosts you have created in your dashboard. From this section, they can view and analyze server logs using an intuitive dashboard, accessible to both beginners and ...