ENCODING DATA IN EMAIL HEADERS
Among other things, we describe techniques for encoding data that is included in electronic communications. In one aspect, a first electronic communication system sends, to an entity, a first email message that includes a Message-ID field including data that identifies an action to be carried out by a second electronic communication system. The first electronic communication system receives, from the entity, a second email message that includes an In-Reply-To field containing the data that identifies the action to be carried out by the second electronic communication system. The first electronic communication extracts the data from the In-Reply-To field in a message header of the first electronic communication. The second electronic communication system may be the same as the first electronic communication system, or may be an electronic communication system other than the first electronic communication system.
This description relates to encoding data in email headers. Electronic devices can be used to communicate information with other electronic devices using a variety of protocols. As an example, electronic mail (email) is a message-exchange framework that is commonly used on the Internet and other communication networks.
SUMMARYThe encoding data in email headers that we describe here may encompass one or more of the following (and other) aspects, features, and implementations, and combinations of them.
In general, in an aspect, a method includes, at a first electronic communication system, sending, to an entity, a first email message that includes a Message-ID field containing data that identifies an action to be carried out by a second electronic communication system. The method also includes receiving, from the entity, a second email message that includes an In-Reply-To field containing the data that identifies the action to be carried out by the second electronic communication system. The method further includes extracting the data from the In-Reply-To field in the message header of the second email message.
In some implementations, the second electronic communication system is the same as the first electronic communication system. In some implementations, the second electronic communication system is an electronic communication system other than the first electronic communication system.
Implementations of this aspect may include one or more of the following features. Receiving an indication to associate the action with the first email message, and generating the first email message including the data. Carrying out the action based on the data extracted from the second email message. The action to be carried out by the second electronic communication system was defined based on input received from a user, and the content of the first email message was defined based on input received from the user.
In general, in another aspect, a method includes, at an electronic communication system, receiving a first electronic communication from a first entity, the first electronic communication including data representative of an action to be carried out by the electronic communication system, the data having been previously generated by the electronic communication system and included in a second electronic communication previously sent to the first entity.
Implementations of this aspect may include one or more of the following features. Receiving an indication to associate the action with an electronic communication, and generating the second electronic communication including the data. The action to be carried out by the electronic communication system was defined based on input received from a first user, and the content of the second communication was defined based on input received from the first user. The first electronic communication comprises a first email message and the second electronic communication comprises a second email message, and the data representative of an action to be carried out is included in at least one of the following header fields of the first email message or the second email message: “Message-ID,” “In-Reply-To,” “From,” “Resent-From,” “Reply-To,” “To,” “Cc,” “Bcc,” “Resent-To,” “Resent-Cc,” “Resent-Bcc,” or “References.”
In general, in an aspect, a first electronic communication system includes one or more computers and one or more storage devices storing instructions that are operable, when executed by the one or more computers, to cause the one or more computers to perform operations that include sending, to an entity, a first email message that includes a Message-ID field including data that identifies an action to be carried out by a second electronic communication system. The operations also include receiving, from the entity, a second email message that includes an In-Reply-To field containing the data that identifies the action to be carried out by the second electronic communication system, and extracting the data from the In-Reply-To field in a message header of the first electronic communication.
In general, in another aspect, an electronic communication system includes one or more computers and one or more storage devices storing instructions that are operable, when executed by the one or more computers, to cause the one or more computers to perform operations that include receiving a first electronic communication from a first entity, the first electronic communication including data representative of an action to be carried out by the electronic communication system, the data having been previously generated by the electronic communication system and included in a second electronic communication previously sent to the first entity.
In general, in another aspect, at least one computer-readable storage medium encoded with at least one computer program includes instructions that, when executed, operate to cause at least one processor in a first electronic communication system to perform operations that include sending, to an entity, a first email message that includes a Message-ID field including data that identifies an action to be carried out by a second electronic communication system. The operations also include receiving, from the entity, a second email message that includes an In-Reply-To field containing the data that identifies the action to be carried out by the second electronic communication system, and extracting the data from the In-Reply-To field in a message header of the first electronic communication.
In general, in another aspect, at least one computer-readable storage medium encoded with at least one computer program includes instructions that, when executed, operate to cause at least one processor in an electronic communication system to perform operations including receiving a first electronic communication from a first entity, the first electronic communication including data representative of an action to be carried out by the electronic communication system, the data having been previously generated by the electronic communication system and included in a second electronic communication previously sent to the first entity.
These and other aspects, features, and implementations, and combinations of them, may be expressed as apparatus, methods, methods of doing business, means or steps for performing functions, components, systems, program products, and in other ways.
Other aspects, features, and advantages will be apparent from the description and the claims.
An electronic communication system can encode data in an electronic message that will be included in subsequent messages transmitted by other electronic communication systems.
Electronic communication systems enable different entities to communicate, handle and process electronic communications. Various types of electronic communication exist, using various types of electronic communication protocols. An electronic communication may include various types of content, such as text, data, voice, images, video, etc. An electronic communication can be transmitted and received between various types of electronic communication systems, such as personal desktop computers, server computing systems, mobile computing devices, etc. An example of a type of electronic communication is an email message. An email message has at least one receiving entity, and can have multiple receiving entities.
The term entity is used herein in a broad sense, and includes individual users or groups of users, such as an organization. An entity is typically associated with an electronic communication address, such as an email address, which can be used by other entities to send electronic communications to the entity. An email address can be associated with a single user, or an email address may be associated with a group of people, such as an organization or a mailing list.
There are different types of electronic communication systems that can be used to send and receive electronic communications. For example, an email application running on an entity's computing device (often called a “client”) allows the entity to interact with an email system, which carries out the actions of sending and receiving email messages sent to and from a variety of entities on a variety of computer systems (e.g., personal computers, smart phones, tablet computers, and other types of computer systems). An email system can run on one or more servers and provide various email services to the email applications running on clients. An email system typically operates according to standardized email protocols for sending and receiving messages. Typical email protocols include SMTP, POP3, and IMAP.
In some examples, email applications can be accessed using various application interfaces. In some examples, email applications are accessed using a web browser interface, a custom application interface (e.g., a dedicated email application or a file system interface of an operating system), a general use mobile application (e.g., email application), a specialized use mobile application (e.g., custom mobile application written for use with a particular system), or another kind of interface. In some examples, the application interface may be an application programming interface (API) that interacts with software components. In some examples, an API can be programmed to automatically access the email application and to perform certain actions based on contents of received email messages.
There are various ways that entities can send, received, handle electronic communications. For example, if the electronic communication is an email message, then the exchange and handling of email messages follows one or more standards, such as those defined by the Internet Engineering Task Force (IETF). For example, an entity can send identical copies of an email message to multiple receiving entities. This can be achieved by directly addressing the email message to multiple recipients, and/or by using “carbon copy” or “blind carbon copy,” the latter being used to hide the identity of one or more recipients from other recipients. In some examples, an entity that receives an email message can forward it to other entities, by sending a new email message that includes the text of the original message. In some examples, an entity may classify, into sub-categories or folders, different email messages that the entity had previously sent and/or received.
The system and techniques that we describe here can be implemented to enable an entity sending an electronic communication to include encoded data into the electronic communication in such a way that the encoded data is automatically preserved in subsequent electronic communications that are replies to and/or forwards of the electronic communication. The encoded data may encode an action, selected by the entity, to be performed upon receiving a subsequent reply and/or forward of the electronic communication. An action to be carried out by an electronic communication system may be defined based on input received from a user. In some examples, an action may have been defined directly based on an input by a user (e.g., by an individual user or by a user among a group of users, e.g., an organization) who specifies that the action is to be encoded into encoded data that is included in the particular outgoing electronic communication. In some examples, an action may have been defined indirectly based on an input by a user who specifies the action as part of an automated process that encodes the action into encoded data that is included in multiple outgoing electronic communications, which includes the particular outgoing electronic communication.
By “encoded data,” we mean any data that is encoded (e.g., formatted) in a manner that can be included in an electronic communication. The manner in which the data is encoded may depend on the format of the electronic communication, or characteristics of the data to be encoded, and/or other factors. We sometimes describe “encoding” or “decoding” the data, which refers to formatting the data (e.g., putting the data in a format suitable for transmission) or interpreting the data (e.g., identifying contents of the encoded data).
In some implementations, the encoded data may be included in portions of an electronic communication that are automatically extracted and then included in subsequent electronic communications by other entities, even if the other entities are unaware of, or unable to access, the encoded data. In some implementations, the encoded data may be encrypted so that the encoded data is not accessible to entities for whom the encoded data is not intended. Regardless of whether an entity is aware of, or is able to access, encoded data that is included in an electronic communication, an electronic communication system operated by the entity may automatically extract and include the encoded data in subsequent electronic communications. As such, the system may require no client side changes on the part of an entity replying to or forwarding the electronic communication that contains the encoded data.
In some implementations, the encoded data could be included in standard header fields of an email message. By “standard header fields,” we mean header fields defined by standards for electronic communication. The header fields could be defined by appropriate IETF standards, such as Request for Comments (RFC) 822 and Multipurpose Internet Mail Extensions (MIME). As examples, such header fields could be, but are not limited to message originator header fields (e.g., “From,” “Resent-From,” “Reply-To”), or message recipient header fields (e.g., “To,” “Cc,” “Bcc,” “Resent-To,” “Resent-Cc,” “Resent-Bcc”), or message-id related header fields (e.g., “Message-ID,” “In-Reply-To,” “References”). When the encoded data is included in such header fields of an email message, recipient email clients and/or servers will extract and include the encoded data in subsequent replies and/or forwards, even without necessarily being aware of the presence of the encoded data in the header fields and/or without having any functionality specific to encoding or decoding the data.
Communication systems other than email systems may also support header fields that can be used in this same way. For example, communication systems used for text messages (e.g., Short Message Service [SMS]), instant messages (Extensible Messaging and Presence Protocol [XMPP]), and multimedia messages (e.g., Multimedia Message Service [MMS], and Session Initiation Protocol [SIP]) may support or can be modified to support header fields that can be used in this way.
In some implementations, the encoded data may be secure from access by unauthorized entities. For example, the encoded data may be encrypted and the email message header may include authentication credentials, such as an electronic signature, that relates the encoded data to the identity of an authorized entity (e.g., the entity that included the data, or another entity for whom the encoded data is intended).
In some implementations systems that utilize such encoded data may be stateless, in the sense that separate storage for system state may not be needed in order to process the instructions in the encoded data. Instead, all the information needed to perform the desired action is encoded in email message headers such as the headers described above. In some examples, this stateless feature can enable systems to scale to larger dimensions without a necessarily requiring a corresponding growth in storage facilities for maintaining state to match received information to desired instructions. In some implementations, this may facilitate deployment in large communication networks with a large number of users. In some implementations, some state information could be stored and remain persistent between multiple email messages, to facilitate interpreting the encoded data extracted from email message headers. For example, a message header field may include a database key that enables an entity to access a database to retrieve instructions to perform. In some implementations, this may be added for security reasons, because even if an unauthorized entity were to extract a database key, the unauthorized entity may not be able to access the database for which the key is intended (e.g., if the database is local to the intended entity, if the database has security features limited access, etc.).
Independent of the content of the data that is encoded in the electronic communication, and independent of whether that information is completely self-contained in the electronic communication or accessible via stored state information, the encoded data can be included in electronic communications in such a way that it is automatically preserved in subsequent replies to and/or forwards of the electronic communication , even if the replying and/or forwarding entities are not aware of, or not authorized to access, the encoded data.
Such techniques can be applied to other types of electronic communication and electronic communication protocols, other than email. For example, if another type of electronic communication has a portion of the electronic communication that is automatically extracted and included in subsequent electronic communications that are in reply to, or forwards of, the electronic communication, then techniques described here can be used to include encoded data into the electronic communication in such a way that the encoded data is automatically included in the subsequent electronic communications.
In some implementations, if the computing system 114 of the user 102 includes encoded data in an outgoing email message 104a sent to another user 106, then the encoded data that was included in the email message 104a can be automatically returned to the user 102 in a subsequent reply email message 104b sent by the other user 106, without the other user 106 even being aware of the presence of the encoded data. The encoded data can be any data that the user 102 wishes to include that can be decoded by a communication system, such as data that indicates an action to be carried out by the computing system 114 of the user 102 upon receiving the reply email 104b. In some implementations, the computing system 116 of the other user 106 receiving the original email message 104a can also be made aware of, and allowed to extract, the encoded data included in email message 104a. In such cases, the computing system 116 of the other user 106 can also use the encoded data to perform any action that is indicated by the data.
As another example, the computing system 114 of the user 102 can include encoded data in the outgoing email 104a to the other user 106 in such a way that the encoded data is automatically included in any subsequent forwards of the email message 104a by the computing system 116 of the other user 106. For example, if the other user 106 receives the email message 104a and forwards it in another email message to the third user 108, then the encoded data that was included in the original email message 104a can be automatically carried over to the forwarded email message by the computing system 116 of the other user 106. The forwarding user 106 need not necessarily be aware of the presence of the encoded data that was carried over but can, in some implementations, be allowed to extract and process the encoded data. The third user 108, upon receiving the forwarded email message containing the encoded data, can extract the encoded data from the forwarded email message and perform any appropriate action indicated by the data.
As another example, an entity, such as the organization 110, can use the techniques described here to enable features of email communication with entities external to and within the organization 110. The organization 110 can utilize a computing system, such as email server 120, to handle the sending and receiving of email messages on behalf of other entities within the organization 110, such as a first user 122a and a second user 122b. The email server 120 and the first and second users 122a and 122b can communicate using any communication network, either wired or wireless, within the organization 110.
The organization 110 may use a single email address, such as “info@company.org,” to communicate with entities external to the organization 110. In some implementations, data can be encoded in outgoing emails from that email address, and be extracted from incoming replies to route emails sent to the generic email account to the right person within the organization 110. Thus, the organization 110 could handle replies sent to a single generic email address in different ways.
This may also be used in situations where external anonymity of entities within an organization, is desired. For example, in
As one example of enabling this single-address technique, the server 120 could include different types of encoded data in the header of an outgoing electronic communication, such as email message 124a. As an example, the encoded data could depend on the nature of the outgoing email 124a, such as whether the email relates to a promotional event, or relates to an account billing issue. When an external recipient replies to the email 124a, then the reply email 124b will include the same encoded data that was in the outgoing email 124a, without the external recipient necessarily being aware of the presence of the encoded data. The received email 124b can be processed by the email server 120, the encoded data can be extracted, and the server 120 can perform any action based on the encoded data. For example, the email can be routed to an appropriate entity within the organization 110. In the example of
In some implementations, entities within the organization 110, such as the first and second users 122a, 122b, may include encoded data in an email header to indicate that the email message should not be forwarded outside of the organization 110. This may be chosen by the entities, for example, if the email message contains information that is confidential to the organization 110. For example, an email message sent by the first user 122a and received by the second user 122b may include encoded data indicating that the email message should not be forwarded outside the organization 110. If the second user 122b subsequently forwards the email message to other entities, and if one of those other entities is outside of the organization 110, then the server 120 can receive the forwarded email message, extract the encoded data, determine that the email message should not be forwarded outside of the organization 110, and block the forwarding of the email message outside of the organization 110.
The extracted data can be used by entities for a variety of purposes, and the system described here is not limited to any particular purpose. The data can be used to indicate that an entity extracting the data should perform any appropriate action upon receiving an email containing the encoded data. Such actions can include, for example, changing a characteristic of one or more email messages, implementing rules for handling one or more email messages, or the data may not relate to email communication at all, and may be used for other purposes. Further examples and explanations are provided below, e.g., in the descriptions of
Independent of the instructions represented by the encoded data, the system described here can be used to include the encoded data in an email message in such a way that the encoded data is automatically carried over to subsequent replies to and forwards of the email message by other entities, even without the other entities necessarily being aware of the presence of the encoded data. Such a system may enable expanded features and capabilities for users of an email system.
Although the examples in
In
In some implementations, the encoded data can be included in a standard header field of an email message by the email client of the first user 200. The encoded data can be included in the standard header field in such a way that replies to and/or forwards of the email message will automatically include the same encoded data in a corresponding header field of the reply/forward email message, even if the replying/forwarding entity is not aware of the presence of the encoded data.
As an example, email systems that conform to IETF-published standards typically have a “Message-ID” field in the header of an email message. The Message-ID field contains a globally unique identifier (e.g., a serial number) for the email message. The contents of the Message-ID field are automatically carried over by IETF-compliant recipient email clients into the “In-Reply-To” field of any reply emails and forward emails of the email message. In this way, email clients can identify email messages belonging to the same thread of conversation.
After the second user 202 receives the first email message 204a from the first user 200, the entire contents of the Message-ID field 206a are automatically extracted by an IETF-compliant email client of the second user 202 and automatically included in the In-Reply-To field 206b of the second email message 204b, sent by the second user 202. Included in the contents that are automatically included in the In-Reply-To field 206b of the second email message 204b is the encoded data 208. The transfer of the contents of the Message-ID field 206a, including the encoded data 208, from the first email message 204a to the In-Reply-To field 206b of the second email message 204b occurs automatically by the IETF-compliant email client of the second user 202, even if the email client of the second user 202 is unaware of the presence of the encoded data 208. When the first user 200 receives the second email message 204b, the email client of the first user 200 can be configured to extract the encoded data 208 from the In-Reply-To-Field 206b, and take an appropriate action that is indicated by the encoded data 208.
As another example,
Therefore, the first user 200 may include encoded data 208 (e.g., data beyond simply identifying the message, such as data indicating an action to be carried out) in the Message-ID field 206a of the first email message 204a, and the encoded data 208 will be automatically be extracted by an email client of the recipient (e.g., second user 202) and copied into the In-Reply-To field of subsequent reply and/or forward email messages (e.g., the In-Reply-To field 206b of the second email message 204b in
In some implementations, an email message header field, such as Message-ID field 206a, can further include mechanisms to secure encoded data, e.g., the encoded data 208. Such security mechanisms may be used to prevent re-use of Message-ID headers to perform undesired actions. In some implementations, systems can use an encryption scheme to ensure that an email message header field, such as Message-ID field 206a, cannot be modified without destroying the encoded data. In some implementations, systems can embed certain validation information in the message header field so that the header field is only valid when sent to an authorized entity. For example, the Message-ID field 206a can contain a security mechanism, such as an electronic signature 212, that ties the encoded data 208 to an identifying mechanism, such as a key 214, belonging to an authorized recipient of the encoded data 208, such as the first user 200 (in
In this way, the encoded data 208 can be automatically and securely extracted and replicated by email systems, even systems that may not be configured to process, nor even to be aware of, the encoded data that is included in the header fields of the email message. By using existing header fields of email messages and existing mechanisms that automatically extract and relay information contained in those header fields, the need for customized solutions may be reduced, resulting in a simplified and scalable system. Moreover, by enabling secure and confidential transport of encoded data within email header fields, the encoded data can, in some implementations, be detailed enough to uniquely define an action to be carried out by the extracting entity. In some examples, the encoded data can define a particular context in which the action is to be carried out. In some implementations, such techniques may not necessarily require additional databases, servers, or other components to store additional information to interpret the encoded data. In some implementations, some state information may be stored and retrieved by entities, for example, to assist in interpreting the encoded data and performing the intended instruction.
As another example, the authorized user 216 (e.g., the first user 200 in
The examples described here are of possible uses of the techniques described herein. In general, data that is encoded in email message headers, such as the encoded data 208 shown in
For example, an email message, such as a first email message 300a in
The first and second email message headers 302a and 302b contain various header fields that define control information, such as “From” and “To” fields that contain originator and recipient email addresses, respectively, a “Date” field that contains a date/time stamp, and a “Subject” field that contains a subject of the email message. In addition, the first email message header 302a may contain a “Bcc” field indicating one or more entities to whom the first email message 300a should be sent as a “blind carbon copy,” e.g., without indicating to other recipients that those one or more entities were copied.
The first and second email message headers 302a and 302b also have first and second Message-ID fields 308a and 308b, respectively, which uniquely identify the first and second email messages 300a and 300b. In general, the first and second email message headers 302a and 302b may also have other fields not shown in
Although the examples in
The encoded data 310 can be included in the header fields in any manner. In some implementations, if the encoded data is included in a field normally reserved for email addresses (e.g., From, Reply-To, Resent-From, To, CC, BCC, Resent-To, Resent-CC, etc.), then in the local part of the email address, one or more separating characters (e.g., a “+” symbol or other suitable separating character(s)) could be used to separate the actual delivery email address from the encoded data, such as encoded data 310. For example, an email message with a “To” header field specifying “nsb+data@company.org” would be routed to the email address “nsb@company.org,” but the “data” part would be available for extracting and processing by authorized entities to perform the specified action. In some implementations, if the encoded data is include in non-addressing header fields (e.g., Message-ID or In-Reply-To) then one or more separating characters (e.g., a “+” symbol) could also be used to separate the encoded data from other information in the header fields.
The particular format of the encoded data, such as encoded data 310, can be any format used to encode data. For example, a base64 encoding of compressed and encrypted JavaScript Object Notation (JSON) could be used. But any format of the encoded data 310 could be used, for example, Extensible Markup Language (XML), a serialized Java objects, raw bytes, etc. An encoding, such as a base64 encoding, could be used to convert the information in the encoded data 310 from binary format to a format that RFC-compliant systems can recognize. In some implementations, compression could be used to achieve compactness of the encoded data 310, but may not be necessary, for example, if the encoded data 310 is small. In some implementations, the encoded data 310 could be encrypted to make it secure, though this may not be necessary if the encoded data 310 is not confidential.
Any type of data (and associated action) can be encoded and included in email message headers. As examples, the encoded data could indicate an automated action. For example, the encoded data could indicate an action to be performed when the message is replied to. In this example, the sender of the message could tell the recipient, “if you want to perform action X, then just reply to this email message.” As another example of an automated action, the encoded data could indicate that when an associated thread of messages has been completed (e.g., after an amount of time has elapsed since the most recent message in the thread), a particular individual could be notified. As another example, the encoded data could indicate a selective distribution of the email message (e.g., user 2 attempts to forward an email message to user 3, but the encoded data in the email message instructs user 2's email client/server not to deliver to user 3). As another example, the encoded data could indicate selective arrival notification (e.g., if a recipient of an email message forwards the email message to another user, then the original sender of the email message is notified). As another example, the encoded data could indicate instructions related to certain aspects of a user's computing environment (e.g., if user 1 sends an email message to user 2, when user 2 reads the email message, then user 2's email client/server could automatically open applications (e.g., documents, web pages, etc.) that were open on user 1's screen and that user 2 is allowed to see). As yet another example, the encoded data could include whitelisting information. For example, user 1 could specify authentication information, e.g., listed on user 1's business card or in a public directory of authentication information, that, when included in encoded data that is included in an email message sent to user 1, indicates that the email message should be accepted by an email client/server of user 1. In this example, an email server that receives messages sent to user 1 can filter incoming messages based on the presence of the authentication information.
Regardless of the exact nature of the encoded data, or the specific way in which the encoded data is included in an email message header, an entity can have the encoded data included in an outgoing email, in such a way that the encoded data is automatically included in subsequent emails that are in reply to, or forwards of, the outgoing email. In some implementations, the encoded data can be included in an email message in such a way that even if the receiving entity's email client or server is not explicitly aware of the presence of the encoded data, the encoded data is nonetheless automatically extracted by the client or server and included in subsequent replies to and/or forwards of the email message.
The encoded data may be defined by a person, an email client, an email server, or any other entity. In some implementations, the encoded data can be encrypted to prevent unauthorized access to the data, even by entities that receive and handle email messages containing the encoded data. For example, the encoded data can be encrypted so that the encoded data is only interpretable by the sender of the original message, or by one or more of the recipients of email messages that are replies to and/or forwards of the original message. In such a way, the encoded data can include confidential information that can be securely sent, returned, and forwarded among different entities.
An email client of an entity (e.g., the first user 200 in
The indicated action may be represented by generating 404 encoded data (e.g., the encoded data 208 in
The encoded data that represents the action may be included in an outgoing electronic communication that is generated 406 by the email client. The encoded data may be included in the outgoing electronic communication by any technique, such as including the encoded data in a message header field (e.g., the first message header field 302a in
The email client may send the outgoing electronic communication, with the encoded data, to a first entity (e.g., the second user 202 in
The email client may carry out 412 the action indicated by the encoded data that was included in the incoming electronic communication and that was extracted from the incoming electronic communication. Some examples of actions that may be carried out are described above in the description of
The email client receives 504 a second email message, which is a reply to the first email message, that has an In-Reply-To field (e.g., the In-Reply-To field 312 of the second email message 300b in
Implementations are not limited to using the Message-ID and In-Reply-To fields of email message headers, as any of a number of header fields may be used, some examples of which were given above in the description of
The email client can include 608 the generated encoded data into one or more header fields, such as the Message-ID field (e.g., the first Message-ID field 308a of the first email message 300a in
The sender's email client may determine 616 an action to be carried out, based on the encoded data that was extracted from the incoming email message. In some implementations, the action may be determined based only on the encoded data, such that the system is stateless, in the sense that the system may not need to store persistent state information that is needed in order to translate the encoded data into the action. In some implementations, some state information may be stored between email messages by the email client or server to assist in processing and interpreting the encoded data extracted from incoming email messages. Regardless of the manner in which the email client determines an action to be carried out based on the encoded data, the email client may implement 618 the action. Examples of actions that may be represented by the encoded data and implemented by the email client are described with respect to
For example, the user may select action 702 to prevent the email message from being forwarded to entities outside of a designated group of entities (e.g., organization 110 in
As another example, the user may select action 704 to retain information about recipients who are identified in the “Bcc” field of the email message, so that the same recipients can be included in the “Bcc” field of subsequent emails that the user sends in the same email thread (e.g., emails that are related as being replies or forwards of each other). In some implementations, to avoid undoing the privacy effects of using the Bcc field, the email message header could indicate encrypted code names that can be translated, by the email client of the user of interface 700 (or any other authorized entity extracting the encoded data), into the identities of the Bcc recipients. As such, when the user (e.g., the first user 200 in
The techniques described here may be used in other ways in the context of sending and replying to emails that have Bcc (blind carbon copy) recipients. For example, user 1 sends a first email message to user 2 and user 3, and also includes user 4 in the Bcc field of the first email message. Using techniques described here, user 1 could specify that the Bcc information of user 3 should be encoded and included in the header of the first email message. User 2 may reply to the first email message by specifying a “Reply to All” function that sends user 2's reply to all recipients of the first email message. In some implementations, user 2's email client or server could extract the encoded data from the first email message, determine that user 4 was a Bcc recipient (without necessarily informing user 2 or other users of this fact to retain the anonymity of user 4) and automatically include user 4 in the reply, again as a Bcc recipient. As such, user 4 becomes party to the whole conversation between user 1 and user 2, but is not visible to other parties of the conversation (i.e., users 2 and 3). In some implementations, should user 4, as a Bcc recipient, reply to the first email message, then user 4's reply email message would go to user 1, as well as users 2 and 3, and hence could make users 2 and 3 aware of the fact that user 4 was a Bcc recipient of the first email message. In some implementations, user 4's email client or server could detect that user 4 is attempting to reply as a Bcc recipient and could either indicate a warning to user 4 or could stop the delivery of user 4's reply.
As another example, the user may select action 706 to automatically move all replies to a designated folder, or action 708 to automatically label all replies with a designated label, or action 710 to automatically forward all replies to a designated email address. These designations can be encoded in the email message headers of the outgoing email message, and the encoded data will automatically be preserved in any subsequent replies, at which point the user's email client can extract the encoded data and perform the designated action. This may reduce the need for the user to manually establish filters or other rules-based configurations to perform actions on received emails, and instead the user can specify, directly in the outgoing email message, any actions that should be taken on subsequent replies to that email message.
As another example, the user can select action 712 to track email responses. If the user sends an email with action 712 selected, then upon receiving a reply to the email, the user's email client can extract the encoded data from the email header to automatically locate the previously sent email message in the user's email archive, and then mark that original email message as “reply received.” The encoded data could include, for example, a direct pointer to the original email message. For example, if an email client accesses one or more data stores (whether local or remote to the email client) that retain email messages that were previously sent and received by the email client, then a data structure could be configured to include pointers in the form of addresses of memory locations within the one or more data stores in which the email messages are stored. In some implementations, the user's email client can be configured to detect any previously sent messages that have not yet had a reply received, and flag these to the user. This could reduce the need for a user to manually search for previously sent emails that have not been replied to, as the email client could automatically locate previously sent emails using the direct pointer in the extracted encoded data, and categorize those sent emails.
As another example, the user may select an action 714 to indicate a particular range of times at which to display (or not display) a reply to the email. For example, the user may not want to see any replies for certain periods of hours or days (such as evenings or weekends). Other variations might include time limited actions, such as an action 716 in which the user can specify that one or more actions selected for the message are only valid for a specified period of time, outside of which the actions are not performed.
Other examples could include application of certain server-side policies, such as marking a message as high priority (possibly regardless of what the reply specified), and/or preservation of any special tagging mechanism that the sending server might have.
Another application could be in list servers or social sites, in which a single generic email address may be used to handle multiple different types of communications. The type of communication could be encoded in the email message header so that a single email address can be used for actions like member confirmation, moderation, or to indicate that the message is of a certain type (e.g., for routing or archival purposes, etc.). Such a technique could also enable anonymous emailing, in which replies to a single email address can be selectively routed to different people based on the encoded data received in the reply emails.
As another example, encoded data that is included in the header of an email message could include data from portions of the email message itself, such as the subject of the message (e.g., from the “Subject” header field), data from the body of the message, or any portion of the email message. Such information could be used by a sender user of an email message to detect any changes that were made in those portions of the first email message by a replying user. This can improve an email client's ability to group related email messages into common threads despite edits to the subject line by replying users, and/or to detect changes made by replying users to the text of sent email messages.
For example, suppose that a first user (e.g., the first user 200 in
In general, the encoded data could include information indicating any portion of the first email message, such as the subject of the message, the body of the message, etc. In some implementations, the encoded portions of a first message may be used to help recognize that the first message belongs to the same thread as a second message, even if changes were made to those portions.
As another example, the encoded data that is included in an email message header could include information related to some portions, or the entirety, of the body of the email message. When a first user sends such encoded data in a first message to a second user and receives, in reply, a second message containing the same encoded data, then an email client operated by the first user may extract the information related to the body of the first email message. This feature may be used for any number of purposes. For example, if the second user's email client embeds the body of the first email message within the body of the second message (e.g., by utilizing a function such as “Include Original Message in Reply”), then the first user's email client may use the information related to the body of the first email message extracted from the encoded data, and compare it with the body of the first message that is embedded in the body of the second message, to assist in grouping related email messages into a common thread, despite possible changes in subject line.
Email clients and/or servers could use any technique to include portions of the email message into the encoded data. For example, a hash function (e.g., a Secure Hash Algorithm (SHA) such as SHA-256), or other mapping, may be applied to the portions of the email message to generate a representation for the entire message or parts of the message. The result of the hash function can be included in the encoded data. As another example, a digital signature of the portions of the email message may be generated. The digital signature may be included in the message header and may be accessible by an entity that possesses a credential, such as a public key of a public/private key pair. In some implementations, the information that represents portions of the email message may be included separately from other encoded data that is included in the message header. For example, some or all of the information that represents portions of the email message could be included in a particular field of the header, as is done with the “DKIM-Signature:” field for a DomainKeys Identified Mail (DKIM) signature.
In some implementations, encoded data that includes portions of the email message (e.g., as a result of a hash function) could be used to facilitate access to the portions of the email message. For example, if user 1 sends an attachment to user 2 and the user 2 replies, then the encoded data could be used to contain a reference to the original attachment (e.g., a hash function of the attachment) so that user 1 can determine which version of the attachment user 2 is replying to. In some implementations, the encoded data may include the Content-ID header field or the Message-ID header field of the email message that included the attachment, either additionally or alternatively to including a hash function of the attachment.
But independent of the choice of the specific technique used, one or more portions of an email message can be encoded and included in a header of the email message. The encoded portions of the email message could be used for any purposes, some examples of which are described above. As another example, the encoded portions of an email message could be used by an appropriately configured email client or email server that sends an email message to determine whether the email message was received at a recipient unchanged. This could be used, for example, to inform the sending email client or server that the recipient received the message that it was expected to receive.
As other examples, the encoded portions of the email message could be used to determine information about scenarios in which email messages are autoresponded-to and/or bounced. This could be used, for example, in enhanced loop detection and/or bounce detection.
In some implementations, improved bounce-handling could be implemented using the techniques described here. If an email message Delivery Status Notification (DSN) is returned to a sending user and the DSN contains encoded data that was included in the original email message (e.g., in the original Message-ID header field), then the user's email client or server could extract the encoded data out of the DSN and perform appropriate bounce handling. For example, in the context of a list server that operates a mailing list, rather than having a specific email address that applies to all bounced email messages in a list, techniques described here could be used to allow email messages to be sent with different bounce handling options. Examples of such bounce-handling options include dropping the bounced email message, forwarding the bounced email message to a special email address, or removing a member associated with the bounced email address. In some implementations, such options could be achieved with special bounce email addresses such as “list-bounce.” In some implementations, a list server could send normal list email messages with a “drop from mailing list” bounce action but could send certain email messages (e.g., membership confirm email messages) with a “remove member” bounce action. As such, a list server could implement different types of bounce detection actions for different types of email messages to handle bounced emails differently depending on the type of email message that was sent.
In some implementations, improved loop detection could be implemented using the techniques described here. Such email loops may occur, for example, as a result of two email clients and/or email servers automatically sending email messages (e.g., as auto-replies or bounced email messages) to each other, creating ongoing replies of email messages. Such email loops could be detected by including, in email message headers, encoded data that indicates loop-detection information, such as a count of the number of received email headers, or an identifier (e.g., an internet protocol (IP) address) for the other email client/server. For example, this may be used in addition or as an alternative to using the Message-ID to identify such repeated loops.
We have described here some examples of actions that can be represented by encoded data that is included in email messages, and that can be performed upon extraction of the encoded data by authorized entities. Implementations are not limited to any particular contents of, or actions represented by, the encoded data, as the encoded data could be any transformation of information into a format that is compliant with email standards.
The memory 820 stores information within the system 800. In some implementations, the memory 820 is a computer-readable medium. In some implementations, the memory 820 is a volatile memory unit. In some implementations, the memory 820 is a non-volatile memory unit.
The storage device 830 is capable of providing mass storage for the system 800. In some implementations, the storage device 830 is a computer-readable medium. In various different implementations, the storage device 830 can include, for example, a hard disk device, an optical disk device, a solid-date drive, a flash drive, magnetic tape, or some other large capacity storage device. In some implementations, the storage device 830 may be a cloud storage device, e.g., a logical storage device including multiple physical storage devices distributed on a network and accessed using a network. In some examples, the storage device may store long-term data, such as email archives for users, or security mechanisms (e.g., the key 214 in
A server (e.g., a server forming a portion of the communications system 100 shown in
Although an example processing system has been described in
The term “system” may encompass all apparatus, devices, and machines for processing data, including by way of example a programmable processor, a computer, or multiple processors or computers. A processing system can include, in addition to hardware, code that creates an execution environment for the computer program in question, e.g., code that constitutes processor firmware, a protocol stack, a database management system, an operating system, or a combination of one or more of them.
A computer program (also known as a program, software, software application, script, executable logic, or code) can be written in any form of programming language, including compiled or interpreted languages, or declarative or procedural languages, and it can be deployed in any form, including as a standalone program or as a module, component, subroutine, or other unit suitable for use in a computing environment. A computer program does not necessarily correspond to a file in a file system. A program can be stored in a portion of a file that holds other programs or data (e.g., one or more scripts stored in a markup language document), in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files that store one or more modules, sub programs, or portions of code). A computer program can be deployed to be executed on one computer or on multiple computers that are located at one site or distributed across multiple sites and interconnected by a communication network.
Computer readable media suitable for storing computer program instructions and data include all forms of non-volatile or volatile memory, media and memory devices, including by way of example semiconductor memory devices, e.g., EPROM, EEPROM, and flash memory devices; magnetic disks, e.g., internal hard disks or removable disks or magnetic tapes; magneto optical disks; and CD-ROM and DVD-ROM disks. The processor and the memory can be supplemented by, or incorporated in, special purpose logic circuitry. Sometimes a server (e.g., forming a portion of a communications facility 100) is a general purpose computer, and sometimes it is a custom-tailored special purpose electronic device, and sometimes it is a combination of these things. Implementations can include a back end component, e.g., a data server, or a middleware component, e.g., an application server, or a front end component, e.g., a client computer having a graphical user interface or a Web browser through which a user can interact with an implementation of the subject matter described is this specification, or any combination of one or more such back end, middleware, or front end components. The components of the system can be interconnected by any form or medium of digital data communication, e.g., a communication network. Examples of communication networks include a local area network (“LAN”) and a wide area network (“WAN”), e.g., the Internet.
Certain features that are described above in the context of separate implementations can also be implemented in combination in a single implementation. Conversely, features that are described in the context of a single implementation can be implemented in multiple implementations separately or in any sub-combinations.
The order in which operations are performed as described above can be altered. In certain circumstances, multitasking and parallel processing may be advantageous. The separation of system components in the implementations described above should not be understood as requiring such separation.
Other implementations are within the scope of the following claims.
Claims
1. A computer implemented method comprising:
- at a first electronic communication system,
- sending, to an entity, a first email message that includes a Message-ID field including data that identifies an action to be carried out by a second electronic communication system,
- receiving, from the entity, a second email message that includes an In-Reply-To field containing the data that identifies the action to be carried out by the second electronic communication system, and
- extracting the data from the In-Reply-To field in a message header of the second email message.
2. The method of claim 1, wherein the second electronic communication system is the same as the first electronic communication system.
3. The method of claim 1, wherein the second electronic communication system is an electronic communication system other than the first electronic communication system.
4. The method of claim 1, further comprising carrying out the action based on the data extracted from the second email message.
5. The method of claim 1, comprising receiving an indication to associate the action with the first email message, and generating the first email message including the data.
6. The method of claim 1, wherein the action to be carried out comprises executing, in a stateless manner, a command that is identified uniquely by the data and a context in which the action is to be carried out.
7. The method of claim 1, wherein the action to be carried out comprises altering a characteristic of the second email based on the data.
8. The method of claim 1, wherein the action to be carried out comprises sending a third email based on the data.
9. The method of claim 1, wherein the action to be carried out by the second electronic communication system was defined based on input received from a user, and the content of the first email message was defined based on input received from the user.
10. The method of claim 9, wherein the message header further comprises security features associating the data with the user.
11. The method of claim 1, wherein the first electronic communication system or the second electronic communication system comprises an email client or an email server.
12. The method of claim 1, further comprising identifying a third email message previously sent or received by the first electronic communication system, and associating the third email message with at least one of the first email message or the second email message.
13. The method of claim 1, wherein the data further includes information that encodes one or more portions of the first email message, the one or more portions including at least one portion of a subject header field of the first email message, or at least one portion of a body of the first email message.
14. The method of claim 13, wherein the information that encodes one or more portions of the first email message comprises a result of a hash function applied to the one or more portions.
15-26. (canceled)
27. A first electronic communication system comprising:
- one or more computers and one or more storage devices storing instructions that are operable, when executed by the one or more computers, to cause the one or more computers to perform operations comprising:
- sending, to an entity, a first email message that includes a Message-ID field including data that identifies an action to be carried out by a second electronic communication system,
- receiving, from the entity, a second email message that includes an In-Reply-To field containing the data that identifies the action to be carried out by the second electronic communication system, and
- extracting the data from the In-Reply-To field in a message header of the first electronic communication.
28. (canceled)
29. At least one computer-readable storage medium encoded with at least one computer program comprising instructions that, when executed, operate to cause at least one processor in a first electronic communication system to perform operations comprising:
- sending, to an entity, a first email message that includes a Message-ID field including data that identifies an action to be carried out by a second electronic communication system,
- receiving, from the entity, a second email message that includes an In-Reply-To field containing the data that identifies the action to be carried out by the second electronic communication system, and
- extracting the data from the In-Reply-To field in a message header of the first electronic communication.
30. (canceled)
Type: Application
Filed: Sep 2, 2021
Publication Date: Mar 31, 2022
Patent Grant number: 11777885
Inventors: Simon Paul Tyler (Wiltshire), Jackie Anne Maylor (Wiltshire)
Application Number: 17/465,545