Client-agnostic and network-agnostic device management

Information

  • Patent Grant
  • 11323399
  • Patent Number
    11,323,399
  • Date Filed
    Monday, October 19, 2020
    4 years ago
  • Date Issued
    Tuesday, May 3, 2022
    2 years ago
Abstract
In accordance with an example implementation of this disclosure, an email handler comprises email processing circuitry, a web server, and a database. The email processing circuitry is operable to generate a uniform resource locator for a notification object to be embedded in an email message. The email processing circuitry is operable to embed the notification object in the email message. The email processing circuity is operable to send the email message into a network. The web server is operable to receive a request sent to the uniform resource locator by a client device, The web server is operable to determine characteristics of the client device based on content of the request. The web server is operable to store the characteristics in the database. The web server is operable to control access to content by the client device based on characteristics of the client device stored in the database.
Description
BACKGROUND

Limitations and disadvantages of conventional approaches to mobile device management will become apparent to one of skill in the art, through comparison of such approaches with some aspects of the present method and system set forth in the remainder of this disclosure with reference to the drawings.


BRIEF SUMMARY

Methods and systems are provided for client-agnostic and network-agnostic mobile device management, substantially as illustrated by and/or described in connection with at least one of the figures, as set forth more completely in the claims.





BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 illustrates an example system configured to provide client agnostic email processing.



FIG. 2A illustrates a first example flow of an email message through the system of FIG. 1.



FIG. 2B illustrates a second example flow of an email, message through the system of FIG. 1.



FIG. 2C illustrates a third example flow of an email message thro u the system of FIG. 1.



FIG. 3 is a flowchart illustrating an example process performed by a mail transfer agent (MTA) of FIG. 1.



FIG. 4A is a flowchart illustrating example in-line processing performed by the customized email handler of FIG. 1.



FIG. 4B illustrates example details of repackaging an email message into multiple envelopes.



FIG. 5A is a flowchart illustrating an example implementation of the customized email processing block of FIG. 4A.



FIG. 5B illustrates an example email message composing interface of a MUA.



FIG. 6A is a flowchart illustrating an example implementation in which one of the blocks of FIG. 5A calls for the custom email handler to add a notification object into an email message during in-line processing, of the email message.



FIGS. 6B illustrates an example implementations of the process of FIG. 6A in which a notification object is inserted into HTML-formatted email message body during in-line processing.



FIG. 6C illustrates an example implementations of the process of FIG. 6A in which plain text formatted email message content is converted to HTML-formatted email message content with a notification object.



FIG. 6D is a flowchart illustrating an example implementation in which one of the blocks of FIG. 5A calls for the custom email handler to remove a notification object from an email message during in-line processing of the email message.



FIGS. 6E illustrates an example implementation of the process of FIG. 6D in which a notification object is removed from email message during in-line processing of the email message.



FIG. 7A is a flowchart illustrating an example implementation in which one of the blocks of FIG. 5A calls for the custom email handler to replace email message content with a hyperlink to securely hosted content.



FIGS. 7B illustrates an example implementation of the process of FIG. 7A in which an attachment to an email message is removed and a hyperlink to a securely hosted copy of the attachment is inserted into the body of the email message.



FIGS. 7C illustrates an example implementation of the process of FIG. 7A in which plain text formatted content of an email message is removed and a hyperlink to a securely hosted copy of the plain text content is inserted into the content of the email message.



FIG. 7D is a flowchart illustrating an example implementation in which one of the blocks of FIG. 5A calls for the custom email handler to revoke access to the content stored at a the target of a hyperlink sent in a previous email message.



FIG. 7E illustrates an example implementations of the process of FIG. 7D.



FIG. 8A is a flowchart illustrating an example implementation in which one of the blocks of FIG. 5A calls for replacing original URLs in an email message with notification URLs.



FIG. 8B illustrates an example implementation of the process of FIG. 5A.



FIG. 9 is a flowchart illustrating an example process performed by a web server of the system of FIG. 1.



FIG. 10A is a flowchart illustrating an example implementation in which one of the blocks of FIG. 5A calls for sending an email message back to the sender of the email message received at the start of FIG. 4A.



FIG. 10B illustrates an example implementation of the process of FIG. 10A in which content of the email message sent back to the sender provides information about custom processing commands available to the sender.



FIG. 10C illustrates an example implementation of the process of FIG. 10A in which content of the email message sent back to the sender provides a list of email message templates available to the sender.



FIG. 10D illustrates an example implementation of the process of FIG. 10A in which content of the email message sent back to the sender is an attachment that triggers the addition of a task to a task list.



FIG. 10E illustrates an example implementation of the process of FIG. 10A in which a user can perform configuration/administration of the custom email handier via custom processing commands in an email message.



FIG. 11 is a flowchart illustrating an. example implementation in which one of the blocks of FIG. 5A calls for the custom email handler to send (or bounce) a message only if one or more conditions associated with the email message are true (or not).



FIG. 12A is a flowchart illustrating an. example implementation in which one of the blocks of FIG. 5A calls for generating content of an email message based on a template.



FIGS. 12B and 12C illustrate an example implementation of the process of FIG. 12A.



FIGS. 13A-13C illustrate handling of email messages with blind carbon copy recipients, in accordance with an example implementation of this disclosure.



FIG. 14A illustrates a third example flow of an email message through the network of FIG. 1.



FIG. 14B illustrates example details of the email message of FIG. 14A.



FIG. 15 is a flowchart illustrating an example process for managing access to network resources based on information determined about user devices via notification objects embedded in email messages.



FIG. 16 is a flowchart illustrating an example process for managing access to network resources based on information determined about user devices via notification objects embedded in email messages.





DETAILED DESCRIPTION


FIG. 1 illustrates an example system configured to provide client agnostic email processing. The system comprises a plurality of devices 102 (e.g., servers a plurality of devices 112 (e.g., desktop computers, laptop computers, tablet computers, and/or smartphones), and a custom email handler 116 (e.g., one or more servers),


Each of the devices 102x (x between 1 and 3 in the example shown, where 3 was chosen arbitrarily for illustration) (e.g., servers residing in a data center) comprises processing circuitry 104 (e.g., a chipset or system on chip comprising a CPU, memory, graphics processor, I/O controller, etc.), network interface circuitry 106 (e.g., Ethernet, and/or the like) and storage circuitry 108 HDD, SSD, and/or the like, and associated control chive circuitry) configured (e.g., via all application specific circuit, firmware, an and/or software) to operate as a mail transfer agent (MTA) 110x. For purposes of illustration, three MTAs 1101-1103 associated with three domains are shown, but in implementation any number of MTAs 110 associated with any number of domains may be handled by custom email handler 116.


Each of the devices 112y (y between 1 and 4 in the example shown, where 4 was chosen arbitrarily for illustration) comprises processing circuitry 104 (e.g., a chipset or system on Chip comprising a CPU, memory, graphics processor, I/O controller, etc.), network interface circuitry 106 (e.g., Ethernet, ardor the like) and storage circuitry 108 (e.g., HDD, SSD, and/or the like, and associated control/drive circuitry) configured (e.g., via an application specific circuit, software, and/or firmware) to operate as a mail user agent (MUA) 114 (also referred to as au “email client”). For example, MUAs 1141, and 1142 may each be a locally-installed MUA (e.g., Outlook, Outlook Express, or the like) and MUAs 1143 and 1144 may be “webmail” type MUAs running in a web browser (e.g., gmail.com®, outlook.com®, and/or the like). For clarity of description, the devices 112 will be referred to below as “MUAs 114.” For purposes of illustration, four MUAs 1141-1144 associated with three domains are shown, but in implementation any number of MUM 114 associated with any number of domains may be handled by custom email handler 116.


The custom email handler 116 comprises processing circuitry 104 (e.g., a chipset or system on chip comprising a CPU, memory, graphics processor, I/O controller., etc.), network interface circuitry 106 (e.g., Ethernet, Wi-Fi, and/or the like) and storage circuitry 108 (e.g., HDD, SSD, and/or the like, and associated control/drive circuitry) configured (e.g., via an application specific circuit, software, and/or firmware) to operate as an in-line email processing circuitry 118, background email processing circuitry 120, web server circuitry 122, and database management system (DBMS) 124 (for simplicity of description, the DBMS 124 and an underlying database in storage 108 is referred to as simply a “database”). The custom email handler 116 may be part of one or more of the domains associated (e.g., in a DNS record) with the MTAs 1121-1123 and/or may be part of a separate domain. The custom email handler 116, or components thereof, may reside on one or more of the devices 1021-1023, on one or more of the devices 1121-1124, and/or on devices separate from the devices 1021-1023 and 1121-1124.


The in-line email processing circuitry 118 is configured to receive an email message that is in route to one or more recipients (e.g., indicated by “RCPT TO:” field(s) of the email message where SMTP is used), process the email message, and then allow the email message to continue on to the intended recipients and/or return the email message to its original sender. That is, the processing by in-line email processing circuitry 118 occurs in line with the delivery of the email message, and thus aspects of this disclosure pertain to reducing duration of in-lint processing so as to reduce delay in email message delivery.


The background email processing circuitry 120 is configured to process email messages (and/or data extracted from email messages and/or metadata about email messages) in parallel with the email messages being delivered to their intended recipients. That is, processing by background email processing circuitry 120 does not delay delivery of the email messages.



FIG. 2A illustrates a first example flow of an email message through the system of FIG. 1. In the example shown, a user A@X.com is sending an email message to three recipients: B@Y.com, C@Z.com, and D@Z.com. First, indicated by arrow 202, the message is sent from sender A's MUA 1121 to MIA 1101 (e.g., an MTA, referred to here as “sender MTA”, which is configured into an “outgoing mail server” or similar setting of the MUA 1121). The MTA 1101 performs the process of FIG. 3, and, in the example of FIG. 2A, determines to send the message to in-line email processing circuitry 118 of custom email handler 116, as indicated by arrow 204. The custom email handler 116 receives the email message, performs custom in-line processing on the email message (which may involve interacting with database 124, queuing the message for processing by background email processing circuitry 120, and/or other operations internal to the custom email handler 116), and then returns the email message to MIA 1101, as indicated by arrow 206. MTA 1101 then sends the email message to MIA 1102 and the MTA 1103 (indicated, respectively, by the DNS records for Y.com and Z.com and each of which is referred to here as a “recipient MTA”). This is shown as arrows 208 and 210, respectively. MUAs 1144 and 1143 then retrieve the email message from MTA 1103, as indicated by arrows 212 and 214, and MUA 1142 retrieves the message from MIA 1102 (arrow 216). In instances that the email message contains remotely hosted content (e.g., images, videos, etc.) and/or hyperlinks, the MUAs 1142, 1143, and 1144 may interact with the web server circuitry 122 as indicated by arrows 218, 220, and 222. It is noted that, although the same MTA 110X may be both the sender MTA and the recipient MTA for a message from C@Z.com to D@Z.com the MTA 1103 may be both the sender MTA and the recipient MTA), as used herein, the first time the email message arrives at the MTA 110X it is considered to have visited, the sender MTA and not the recipient MTA—it is considered to have visited the recipient MTA only after returning from custom email handler 116.



FIG 2B illustrates a second example flow of an email message through the system of FIG. 1. FIG. 2B differs in that, instead of the custom email handler 116 returning the message to the sender MTA 1101, it sends the message directly to the recipients' MTAs 1107 and 1103, as indicated by arrows 224 and 226.



FIG. 2C illustrates a third example flow of an email message through the system of FIG. 1. In FIG. 2C, the flow starts out the same as FIG. 2A with arrows 202, 204, and 206, but in the case of FIG. 2C the email message is retrieved from MTA 1101 by the sender MUA 1141. This may be because the email message was self-addressed to A@X.com or because the email message was bounced back to A@X.com (even though A@X.com was not in the “to:,” “cc:” or “bee:” header fields) as a result of rules applied by the custom email handler 116.


In an example implementation, communications between the MTAs 110 and the custom email handler 116 use the simple mail transfer protocol (SMTP), communications between the MUAs and the MTAs use the post office protocol 3 (POP3) and/or internet message access protocol (IMAP), and communications between the MUAs 114 and the web server circuitry 122 use hypertext transfer protocol (HTTP). Aspects of this disclosure, however, are not dependent on the use of these protocols and any suitable protocols may be used.



FIG. 3 is a flowchart illustrating an example process performed by a sender MTA, such as 110/ in FIGS. 2A-2C. In block 302, the sender MIA receives the email message (e.g., indicated by arrow 202 in FIGS. 2A-2C). In block 304, it determines whether the email message has already been processed by the custom email handler 116. The determination may, for example, be determined based on one or more fields of the email message's envelope, one or more of the message's header fields, and/or the message body of the email message. In an example implementation, this may comprise looking for one or more header fields added by the custom email handler 1116, which are referred to herein as “from-custom-handler” header fields. If the message has not already been processed by custom email handler 116, then the process advances to block 308, in block 308, the sender MTA adds one or more header fields (referred to here as “to-custom-handler” header fields) that may be used by the custom email handler 116. In an example implementation, the to-custom-handler header(s) comprise(s) an identifier associated with the sender in a database of the custom email handler 116 and a security key associated with the sender in a database of the custom email handler 116. The identifier may, for example, be a SHA-1 hash of the sender's domain (e.g., X.com in FIGS. 2A-2C) and the security key may, for example:, comprise a random string uniquely associated with the sender, the sender's domain, and/or a authorized group to which the sender belongs. In block 310, the message is sent to custom email handler 116. Returning to block 304, if the message has already been processed by custom email handler 116, then the process advances to block 306 and the message is sent to the recipient MTA(s).



FIG. 4A is a flowchart illustrating example in-line processing performed by the customized email handler of FIG. 1. The process begins with block 402 in which a message is received by the custom email handler 116 from a sender NITA. Next, in block 403, the custom email handler 116 authenticates the email message. The authentication may, for example, be based on one or more fields of the email message's envelope, one or more of the email message's header fields, and/or the email message's body (which, for SMTP, begins after the first blank line in the email message). In an example implementation, this may comprise checking and/or validating the content of one or more to-custom-handler header fields added by the sender MTA. In block 404, to-custom-handler header field(s) added by the sender MTA are stripped from the message (for implementations using such header field(s)). In block 406, the message is parsed to determine whether the email message is intended for multiple recipients. This may comprise, for example, parsing the envelope to detect whether there are multiple “RCPT TO:” fields. If there are not multiple recipients, then the process advances to block 408. In block 408, the message is added to a queue to await processing by background email processing circuitry 120. The process then proceeds to block 4:10 without waiting for background processing to complete background processing is asynchronous with respect to in-line processing shown in FIG. 4A). In block 410, customized in-line processing is performed on the message by in-line email processing circuitry 118. Example details of block 410 are described below with reference to FIG. 5. Next, in block 412, the in-line email processing circuitry 118 adds one or more from-custom-handler header field(s) to the message. Next, in block 414, the message is sent to the sender MTA (e.g., as in FIGS. 2A and 2C) or to recipient MTA (e.g., as in FIG. 2B).


Returning to block 406, if the message is destined for multiple recipients, the process advances to block 416. In block 416, the in-line email processing circuitry 118 determines whether the inbound message is to be repackaged into multiple outbound messages, with each of the outbound messages having a different envelope (e.g., each destined for only a single SMTP recipient). It is noted that, for clarity of description, the message before repackaging is referred to herein as the “inbound message” and the messages after splitting are referred to as “outbound messages,” but the inbound and outbound messages may have the same message-id and possibly other commonalities (in some instances an inbound message and its outbound messages may identical other than their envelopes). The determination of block 416 may be based on custom processing rules associated with the inbound message in a database of the custom email handler 116. The association with the message may, for example, be based on one or more fields of the inbound message's envelope, one or more of the inbound message's header fields, and/or the inbound message's body. For example, rules may be stored per sender, per group-of-senders, per recipient, per group-of-recipients, per domain, per group-of-domains, per IP address, per group of IP addresses, per geographical location, per time of email message transmission or receipt, and/or the like. Any particular rule may determine whether to repackage an inbound, message based on one or more fields of the inbound message's envelope, one or more of the inbound message's header fields, and/or the inbound message's body. As just a few non-limiting examples of possible rules for deciding whether to repackage an inbound message: decide whether to repackage the inbound message based on its content type header field (e.g., do not repackage messages with content type multipart); decide whether to repackage the inbound message based on whether it has one or more attachments (e.g., do not repackage messages with attachments); decide whether to repackage the inbound message based on its size (e.g., do not repackage email messages over a certain size); decide whether to repackage the inbound message based on its “to:”, “cc:”, and “bcc” header fields do not repackage messages with more than N (an integer) recipients); and decide whether to repackage the inbound message based on number of recipients and email message size (e.g., do not repackage message if number of recipients multiplied by size of message is above a determined threshold). If the inbound message is not to be repackaged, the process advances to block 408 (described above). If the inbound message is to be repackages, the process advances to block 418.


In block 418, the message is repackaged according to repackaging rules associated with the inbound message and/or repackaging rules associated with the outbound messages. As in block 416, the association of a repackaging rule with the inbound message may, for example, be based on one or more fields of the inbound message's envelope, one or more of the inbound message's header fields, and/or the inbound message's body. Similarly, the association of a repackaging rule with an outbound message may, for example, be based on one or more fields of the outbound message's envelope, one or more of the outbound message's header fields, and/or the outbound message's body. As just a few non-limiting examples of possible rules for deciding how to repackage an inbound message: decide how to repackage the inbound message based on whether it has one or more attachments (e.g., do not copy the attachments to the outbound messages but instead store the attachment and insert a hyperlink); and decide how to repackage the inbound message based on its “to:”, “cc:”, and “bcc” header fields (e.g., copy attachments to outbound messages unless there are more than N recipients, in which case store attachments and send link). After repackaging in block 418, the process advances to block. 408 and the remaining blocks 408, 410, 412, and 414, described above, are performed per outbound message. In this manner, repackaging enables the custom email handler 116 to process the inbound message differently for different recipients.



FIG. 4B illustrates example details of repackaging an inbound message into multiple outbound messages. Called out as 458 is the inbound message as it arrives at the sender MTA (e.g., along the arrow 202 in FIG. 2A). The envelope 452 (other components of the message 458 are omitted for clarity of illustration) comprises three recipients: B@Y.com, C∜Y.com., and D@Z.com. Called out as 460 is the inbound message as it leaves the sender MTA destined for the custom email handler (e.g., along the arrow 204 in FIG. 2A). The sender MTA has added the to-custom-handler header field(s) 454. Called out as 462 is a first outbound message (e.g., along the arrow 206 in FIG. 2A) resulting from repackaging of the inbound message 460 by the custom email handler 1116. The outbound email message 462 has only a first of the three recipients in its envelope 452, and has one or more from-custom-handler header fields 456. Called out as 464 is a second outbound message (e.g., along the arrow 206 in FIG. 2A) resulting from repackaging of the inbound message 460 by the custom email handler 116. The outbound email message 464 has only a second of the three recipients in its envelope 452, and has one or more from-custom-handler header fields 456. Called out as 466 is a third outbound message (e.g., along the arrow 206 in FIG. 2A) resulting from repackaging of the inbound message 460 by the custom email handler 116. The email message 466 has only a third of the three recipients in its envelope 452, and has one or more from-custom-handler header fields 456. In this manner, each of the outbound email messages 462, 464, and 466 can be processed differently by the custom email handler 116.



FIG. 5A is a flowchart illustrating an example implement of the customized email processing block 410 of FIG. 4A.


In block 502, the custom email handler 116 parses the envelope of the email message. If the envelope of the email message dictates that no custom processing of the email message is to be performed, then the process advances to block 412 of FIG. 4. If the envelope of the message dictates some particular custom processing to be performed on the message, then the process advances to block 504 and the custom processing is performed. If the envelope of the message indicates that custom processing of the message is possibly be called for, then the process advances to block 506.


In block 506, the custom email handler 116 parses the to-custom-handler header field(s) of the email message (which may have been automatically inserted by the sender NIT A). If the to-custom-handler header field(s) of the message dictate(s) that no custom processing of the message is to be performed, then the process advances to block 412 of FIG. 4. If the to-custom-handler header field(s) of the message dictate(s) some particular custom processing to be performed on the message, then the process advances to block 508 and the custom processing is performed. If the to-custom-handler header field(s) of the message indicates that custom processing of the message is possibly be called for, then the process advances to block 510.


In block 510, the custom email handler 116 parses one or more other header field(s) of the email message. One or more of the other header field(s) (such as “message-id”) may comprise text automatically generated by the sender MUA and/or the sender MTA. One or more of the other message header fields, such as the “to:,” “Cc:,” “Bcc:” and “subject:” header fields, may comprise text entered by a sender of the email message via a compose interface provided by the sender MUA. For example, referring briefly to FIG. 5B, there is shown a compose interface 552 of a webmail MUA running in a browser window 550. The MUA puts one or more email addresses entered by the sender (e.g., typed, copy-pasted, selected from a dropdown list, etc.) into interface element 554 into one or more “to:” message header fields of a resulting email message, the MUA puts one or more email addresses entered by the sender into interface element 556 into one or more “Cc:” message header fields of the resulting email message the MUA puts one or more email addresses entered by the sender into interface element 558 into one or more “Bcc:” message header fields of the resulting email message, the MUA puts text entered by the sender into the interface element 560 into a “subject” message header field of the resulting email message, the MUA puts text entered by the sender into the interface element 562 into the message body of the resulting email message.


Returning to block 510 of FIG. 5A, if the other message header field(s) of the message dictate(s) that no custom processing of the message is to be performed, then the process advances to block 412 of FIG. 4. If the other message header field(s) of the message dictate(s) some particular custom processing to be performed on the message, then the process advances to block 518 and the custom processing is performed, if the other message header field(s) of the message indicate(s) that custom processing of the message is possibly called for, then the process advances to block 516.


In block 516, the custom email handler 116 parses the message body and/or attachments. If the message body and/or attachment(s) dictate(s) that no custom processing of the message is to be performed, then the process advances to block 412 of FIG. 4. If the message body and/or attachments dictate(s) some particular custom processing to be performed on the message, then the process advances to block 518 and the custom processing is performed.


In block 510 and/or block 516, parsing may comprise searching for custom email processing commands entered by the sender of the email (e.g., via the “compose message” interface of FIG. 5B). Custom processing commands may have a predefined format defined in a database of the custom email handler 116 such that the custom email handler 116 can reliably distinguish them from other text using, for example, regular expression matching. One example format of custom email processing commands is the hashtag format (i.e., #command). Since MUAs universally (or nearly so) enable a sender to input text in the field body of the subject field and in the message body of the email message, these two portions of email messages may be where the custom email handier 116 searches for custom processing commands. In an example implementation the custom processing commands are plain text (e.g., with any desired encoding such as ASCII, UTF-8, UTF-16, etc.) and a subject header field or message body comprising a custom. processing command is fully compliant with applicable standards (e.g., RFC 5322)). In this manner, regardless of the MUA a sender is using at any given time, s/he can easily provide custom processing commands to the custom email handler 11.6 without having to install a specific MUA, and without having to install any add-ons or plugins for his/her existing MUA. This enables providing custom email processing commands from, for example, any web browser in which a webmail MUA is running, and from any native MUA on a PC/tablet/smartphone/etc. (e.g., the “stock” mail client on Android®, iOS®, etc.). In an example implementation, custom processing commands are stripped from messages by the custom email handler 116 before the messages are forwarded on to the sender and/or recipient MTA(S) (such that the recipients are unaware the custom processing commands were ever present).



FIG. 6A is a flowchart illustrating an example implementation of one of the blocks 504, 508, 512, 518 of FIG. 5. In block 602, a rule associated with the envelope, header field(s), and/or message body of the email message calls for the custom email handler to insert a notification object into the message. From block 602, the process proceeds in parallel to blocks 604 and 608. In block 604, the in-line email processing circuitry 118 calculates a uniform resource locator (URL) for a notification object to be inserted into the message. The URL may, for example, based on the envelope, header field(s), and/of custom-processing command(s) of the message. The URL, may comprise, for example, one or more of: a hash of the sender's domain, a hash of the sender's email address; a hash of the body of the message-id header field; a random generator number that is unique (to a desired likelihood) to this particular URL, a value corresponding to the body of the message-id header filed encrypted with a security key that is associated with the sender and/or sender's domain in a database of the custom email handler 116. Then, in block 606, the in-line email processing circuitry 118 generates HTML element(s) including the URL calculated in block 604, and inserts the element(s) into the message's body. After block 606, the process advances to one of blocks 506, 510, 516 or 412 (depending on whether FIG. 6A corresponds to block 504, 508, 512, or 518).


In parallel with blocks 604 and 606 are blocks 608 and 610 (which may take place any time during or after performance of blocks 604 and 606 by the in-line email processing circuitry 118). In block 608, background email processing circuitry 120 independently calculates the same URL as calculated in block 604, described above. In block 610, the background email processing circuitry 120 prepares to receive a request at the calculated URL. This may comprise associating, in a database of the custom email handler, the calculated URL with content (e.g., an image file) to be served in a response to a received request for the calculated URL. This may also comprise, for example, parsing the email message to extract data from, and/or generate metadata about, the email message, and store such data and/or metadata to the database.



FIGS. 6B illustrates an example implementations of the process of FIG. 6A in which a notification object is inserted into HTML formatted email message body during in-line processing. As shown, after in-line processing per the process of FIG. 6A, one or more from-custom-handler header fields 622 has been added to the message, and an HTML element containing the calculated URL has been inserted into the message body 624. In the example shown, insertion of the notification object is triggered by the custom processing command “#addobject.” In another example, the default (for a particular user, group of users, and/or the like) may be to insert the notification but a custom processing command of “#noobject” in a particular email message may prevent insertion of a notification object for that particular message.



FIG. 6C is similar to FIG. 611, but since the message body of the email was plain text, it has been converted to HTML to support the insertion of the HTML element with the calculated URL.


In an example implementation, custom processing commands may be used to control how and/or when the sender of an email message such as those in FIGS. 6B and 6C is notified that one or more recipients has opened the email message. For example, the custom processing command of “#notify” may result in a the custom email handler 116 sending a notification email to the original sender each time the message with notification object is opened. As another example, a custom processing command of “#notifyonce” may result in such a notification email being sent only on the first opening of a particular email by a particular recipient. As another example, a custom processing command of “#notifydaily” may result in the custom email handler 116 sending daily summary emails informing the sender about bow many times the particular email was openened, by whom, etc. for the preceding day.



FIG. 6D is a flowchart illustrating an example implementation of one of the. blocks 504, 508, 512, 518 of FIG. 5. In block 630, a rule associated with the envelope, header field(s), and/or message body of the email message calls for the custom email handler 1116 to remove a notification object from the email message during in-line processing of the email message. In block 632, the in-line processing circuitry parses the message searching for URLs that match (or not) criteria associated with the message in a database of the custom email handler 116. The association with the message may, for example, be based on one or more fields of the message's envelope, one or more of the message's header fields, and/or the message's body (e.g. URL search criteria may be stored per sender, per group-of-senders, per recipient, per group-of-recipients, per domain, per group-of-domains, per IP address, per group of IP addresses, per geographical location, per time of email message transmission or receipt, anchor the like). The URL criteria may, for example, be regular expressions and/or substrings that match particular domains, particular sub-domains, particular protocols (e.g., http, https, ftp, etc.) particular HTTP GET parameters, and/or the like. In block 634, any matching URLs found in the email message (or in particular portions of the email message such its body) are removed.



FIG. 6E illustrates an example implementations of the process of FIG. 6D in which a notification object is removed from email message's content during in-line processing of the email message. As shown, after in-line processing per the process of FIG. 6D, one or more from-custom-handler header fields 622 has been added to the message, and the HTML element containing the URL has been removed. In another example implementation, the HTML element may be replaced with content of the same size (e.g., a URL, to an image of size LxW is replaced by another URL, to a placeholder image of size LxW, or a hyperlink replaced with another hyperlink of same number of Characters) so as to avoid altering the layout formatting of the entail message.



FIG. 7A is a flowchart illustrating an example implementation of one of the blocks 504, 508, 512, 518 of FIG. 5. In block 702, a rule associated with the envelope, header field(s), and/or message body of the email message calls for the custom email handler 116 to replace content of the email message with one or more secure links to content hosted by the web server circuitry 122. In block 704, content is removed from the message and stored to a database of the custom email handler (in storage 108). In block 708, the in-line email processing circuitry 118 and/or web server circuitry 122 generate a URL pointing to the stored content. In block 708, an HTML element including the URL generated in block 706 is inserted into the message. In an example implementation, the HTML element may be a notification object such that, when the hyperlink is clicked, the fact that it was clicked and/or information such as the IP address, geographical location, type of computing device, and/or the like may be logged in a database of the customer email handler. This may be used to determine who has accessed the content (e.g., in the case of the content comprising sensitive information) and to control access to the content. For example, the URL may a one-time use such that, upon the first view the URL is disabled such that the hyperlink no longer points to it. As another example, the content may be “ephemeral” such that the content may only be viewed for a determined amount of time (e.g., a few seconds) and then URL expires such that subsequent request to it return a notice that the content has expired, return a redirect to another URL, and/or the like. Upon expiration a redirect may trigger that causes the browser to leave the page.



FIGS. 7B illustrates an example implementation of the process of FIG. 7A in which an attachment to an email message is removed and a hyperlink to a securely hosted copy of the attachment is inserted into the content of the email message. As shown, prior to in-line processing according to the process of FIG. 7A, the message comprises envelope 720, header fields 722, body 724, and attachment 736. After in-line processing according to the process of FIG. 7A the attachment 726 has been removed and replaced by a hyperlink. As represented by the dashed line 728, the hyperlink points to the attachment 726 accessible via web server circuitry 122. When clicked by the user, a browser 730 may open and display the content of the attachment 726. As indicated by, the lock in the address bar of browser 730, the URL may be a secure URL (e.g., accessible only via https) and the person attempting to view the content may need to provide a previously generated username and password, may need to enter a one-time and/or time-sensitive password sent to the email address to which the message was intended, and/or some other suitable security measure.



FIG. 7C illustrates an example implementation of the process of FIG. 7A in which plain text formatted content of an email message is removed and a hyperlink to a securely hosted copy of the plain text content is inserted into the content of the email message. As shown, prior to in-line processing according to the process of FIG. 7A, the message comprises envelope 720, header fields 722, and body 724 containing plan text content. After in-line processing according to the process of FIG. 7A, the plain text content of body 724 has been replaced by a hyperlink. As represented by the dashed line 728, the hyperlink points to the plain text content accessible via web server circuity 122. When clicked by the user, a browser 730 may open and display the text. As indicated by the lock in the address bar of browser 730, the URL may be a secure URL (e.g., accessible only via https) and the person attempting to view the content may need to provide a previously generated username and password, may need to enter a one-time. and/or time-sensitive password sent to the email address to which the message was intended, and/or some other suitable security measure. In another example implementation, the content may be converted to an image file (e.g., .gif, .jpeg, etc.) or video file (e.g., .mov, .flv, etc.) or audio file (e.g., .mp3 using text-to-speech), and then. insert an HTML element <img>, <video>, <audio> etc.) that the MLA can download. and display natively without the user having to click a link and open a browser. In an example implementation, a database record of each email recipient may be accessed to see the type of device they typically use to view their emails (e.g., desktop, tablet, or smartphone) and the image may be size appropriately based on that. Similarly, multiple images of different sizes corresponding to the recipients various devices may be generated and hosted by the web server. The email message may then have links indicating which link to use depending on which device s/he is reading the email message on.


Similar to FIGS. 7B and 7C, HTML content (rather than plain text) may be hosted and replaced by a hyperlink. Also, the entire body need not be replaced. It may be that only sensitive text, images, etc. (e.g., containing information protected by HIPAA social security numbers, and/or the like) are replaced by hyperlinks. In this regard, the process of FIG. 7A may be triggered by learning algorithms detecting information that is potentially sensitive.



FIG. 7D is a flowchart illustrating an example implementation of one of the blocks 504, 508, 512, 518 of FIG. 5. In block 752, a rule associated with the envelope, header field(s), and/or message body of the email message indicates to the custom email handler 116 that a sender of an email message, such as the email messages of FIGS. 7B and 7C, desires to recall the message. In block 754, the custom email handier 116 instructs the web server circuitry 122 to move, delete, and/or change permissions for the content associated with one or more URLs in the recalled message.



FIG. 7E illustrates an example implementation of the process of FIG. 7D. FIG. 7E shows a later message (“Recall message”) attempting to recall an earlier message (“to-be-recalled message”) Prior to the recall message being processed according to FIG. 7D, it comprises envelope 762, header fields 764, and body 766. In the example implementation, the custom email handler 116 is triggered to perform the process of FIG. 7D by the presence of the custom processing command “#recall” in the subject header field of the recall message. The custom handler may identify the to-be-recalled message based on one or more fields of the recall message's envelope, one or more of the recall message's header fields, and/or the recall message's body. For example, the recall message may be a forward or reply to the to-be-recalled message, and the custom email handler may identify the to-be-recalled message based on a “reply-to” header field of the recall message matching a header of the to-be-recalled message, based on similarity between the subject header fields of the two messages, based on a message-id header field in the recall message matching a message-id of the to-be-recalled message, and/or the like. After processing according to FIG. 7D, the recall message comprises a message informing the recipients that access to the URL has been revoked, changed, etc. The recall message may be sent to one or more recipients of the to-be-recalled message. For example, the recall message may be destined to only a subset of the recipients of the to-be-recalled message; access may be revoked/changes/etc. for only that subset of recipients, and only that subset of recipients may receive the message notifying them of the change. Additionally, or alternatively, the recall message may be sent back to the original sender (e.g., the custom email handler may automatically bcc: the original sender during processing according to FIG. 10A) in order to confirm to the sender that his/her recall message has been received and the corresponding custom processing has been carried out.



FIG. 8A is a flowchart illustrating an example implementation of one of the blocks 504, 508, 512, 518 of FIG. 5. In block 802, a rule associated with the envelope, header field(s), and/or message body of the email message calls for the custom email handler 116 to replace any URLs found in the email message with corresponding notification URLs. In an example implementation, request a notification URL may be redirected by web server circuitry 122 to its corresponding original. URL after web server circuitry 122 logs information about the request. In another example implementation, the web server circuitry 122 may download the content from the original URL store it locally, and then serve the local copy in response to the request. In block 804, the message (e.g., in its entirety or specific portions such as its subject header field and message body) is parsed in search of HTML elements (e.g., <a>, <img>, <video>, etc.) which contain URLs. In block 806, for each of the URL(s) found during the search of the email message (“original URL(s)”), a corresponding notification email message is generated (e.g., based on the envelope, header field(s), custom processing commands, and/or original URL) and associated with the original URL in a database record of the custom email handler 116. The record may comprise other fields populated during in-line processing (e.g., the message's subject, its recipients, its sender, its content, etc.) and/or may comprise one or more fields (e.g., time of access, geographical location from which accessed, MUA or browser from which accessed, and/or the like) to be populated by the web server circuitry 122 upon receiving a request for the notification URL. In block 808, the original URLs are replaced with the notification URLs in the message.



FIG. 8B is a flowchart illustrating an example implementation of one or more of the blocks of FIG. 5. As shown, the message comprises an envelope 822, header fields 824, and body 826. Prior to in-line processing according to FIG. 8A, the body an element having a URL of “http://Original.URL”, after processing according to FIG. 8A, the URL of the <a> element has been replaced by “http://notification/URL.”



FIG. 9 is a flowchart illustrating an example process performed by a web server of the network of FIG. 1. The process of FIG. 9 may take place after a recipient of an email message processed by custom email handler 116 submits a request to web server circuitry 1122 (e.g., upon opening the email message or actively selecting to download content of the email message and/or entering a URL present in the email message into a web browser). In block 902, web server circuitry 122 receives a request from a client device for a particular notification URL. In block 904, the web server circuity 122 parses the notification URL to extract information uniquely associating the URL with one or more records in one or more databases of the custom email handler. In block 906, the web server updates one or more fields (e.g., time of access, geographical location from which accessed, number of times accessed. IP addresses from which accessed, MUA or browser from which accessed, and/or the like) of the one or more database records based on content of the request. In block 908, the web server circuity 122 uses the database record(s) to serve a response to the client device. For example, the web server circuitry 122 may redirect the client device to a URL in the one or more database records. As another example, the web server circuit 122 may send the client content identified by the one or more database records.



FIG. 10A is a flowchart illustrating an example implementation of one of the blocks 504, 508, 512, 518 of FIG. 5. In block 1002, a rule associated with the envelope, header field(s), and/or message: body of the message calls for the custom email handler 116 to send a message (“return message”) back to the sender of a received email message, in block 1004, the custom email handler 116 determines content to be included in the return message based on one or more fields of the inbound message's envelope, one or more of the inbound message's header fields, and/or the inbound message's body. This may comprise, for example, looking up a database record associated with the inbound message and retrieving content from the database record and/or executing one or more lines of code (e.g., a PHP script previously provided by the sender of the message and validated by the operator of the custom email handler 116) called for by the database record where output generated during the execution of the one or more lines of code is the content to be included in the return message. In block 1006, the content generated and/or retrieved in block 1104 is inserted into the body of the message.



FIG. 10B illustrates an example implementation of the process of FIG. 10A in which content of the return message provides information about custom processing commands available to the sender. For this example, the message comprises a custom processing command “#help” (merely an example other formats and/or text for the same command are of course possible) which causes a return message whose content (either an HTML-formatted document, plain text, or attachment) provides a listing of custom email processing commands available for the sender to use in his/her email messages. In this manner, the sender does not need to keep a copy of the available commands on his device or stored in his inbox, and has quick access to the list of commands even when using a temporary client device (e.g., when logged into webmail from a computer in a hotel lobby, from someone else's smartphone, etc.). Furthermore, the sender can be assured he has the list of latest commands which .may be occasionally updated by a network administrator, etc.



FIG. 10C illustrates an example implementation of the process of FIG. 10A in which content of the return message provides a list of email message templates available to the sender. In this example, the message comprises a custom processing command “#listtemplates” (merely an example—other formats and/or text for the same command are of course possible) which causes a return message whose content (either an HTML-formatted document, plain text, or attachment) provides a listing of email message templates available for the sender to use in his/her email messages (example templates and use thereof is described below with reference to FIGS. 12A-12C). In this manner, the sender does not need to keep a copy of the templates on his device or stored in his inbox and has quick access to them even when using a temporary client device (e.g., when logged into webmail from a computer in a hotel lobby, from someone else's smartphone, etc.). Furthermore, the sender can be assured he has the latest templates which may be occasionally changed by a network administrator, etc.



FIG. 10D illustrates an example implementation of the process of FIG. 10A in which content of the return message is an attachment that triggers an action by an application on the device from which the return email message is opened. In the example shown, the action is the addition of a task to a task list. That is, the sender sends an email message with the custom processing command #Outlooktask which triggers the process of FIG. 10A. During the process of 10A, the custom email handler 116 parses the email message for the #taskcontent command and uses that command generate the task file (e.g., a .pst file for Outlook) before being attached to the return message. Other examples besides a task list include calendar appointments, alarm settings, executables, and/or the like.


in another example implementation of the process of FIG. 10A, a custom processing command may request a file stored in storage 108, and the custom processing performed by the custom email handler 116 may comprise retrieving the file (e.g., indicated by a #filename custom processing command in the subject header field or message body), and attaching the file to the email message or providing a URL to the file. The URL may be a secure URL (e.g., accessible only via https) and the person attempting to view the content may need to provide a previously generated username and password, may need to enter a one-time and/or time-sensitive password sent to the email address to which the message was intended, and/or some other suitable security measure. Similarly, the URL may a one-time use such that, upon the first view the URL is disabled such that the hyperlink no longer points to the file.



FIG. 10E illustrates an example implementation in which a user can perform configuration/administration of the custom email handler via custom processing commands in an email message. In the example shown, an “#admin” custom processing command triggers the custom email handler to execute one or more scripts for configuring the in-line email processing circuitry 118, the web server circuitry 1.22, the background email processing circuitry 120, and/or for storing data to and/or retrieving data from a database of the custom email handler 116. In an example implementation, the body of the email message may contain, or contain references to, the commands or scripts to be executed. For security the custom email handler 116 may, for example, only accept the #admin command from particular senders and the commands or scripts to be executed may be encrypted. In an example implementation such a command may be used to, for example, add a user (e.g., identified by email address) to a database of the custom email handler 116, configure the custom processing rides being applied for a particular user (or domain etc.) (e.g., temporarily suspend the application of one or more custom processing rules for a particular sender/recipient/etc.), run reports on usage of the custom email handler 116, obtain message notification statistics, and/or the like.


In another example implementation of FIG. 10A, a custom processing command may trigger execution of a script which posts content to a third part web site or service. For example, the custom processing command #post in the subject header field may trigger a post to a social network site, with content of the email message being the content of the post. The email may then be modified to be a confirmation that the post has been submitted.


In another example implementation, of FIG. 10A, a custom processing command may trigger execution of a script which causes a follow-up email message to be auto-generated if the original email is not opened or replied-to in some determined amount of time (e.g., #followup1week may set the time to one week). The email may then be modified to be a confirmation that the follow-up has been scheduled.



FIG. 11 is a flowchart illustrating an example implementation of OM of the blocks 504, 508, 512, 518 of FIG. 5. In block 1102, a rule associated with the envelope, header field.(s), and/or message body of the email message calls for the custom email handler 116 to send (or bounce) a message only if one or more conditions associated with the email message are true (or not). In block 1104, the message is parsed to determine whether it meets one or more conditions. Example conditions include: whether an intended recipient of the message has opened previous messages (from the sender and/or other senders such as coworkers) within a recent determined time period., whether an intended recipient of the message is known (or suspected) to be blocking notification objects, whether another account in sender's domain (e.g., coworker) has already sent a message to the intended recipient of the message, and/or the like.



FIG. 12 is a flowchart illustrating an example implementation of one of the blocks 504. 508, 512, 518 of FIG. 5. In block 1202, a rule associated with the envelope of an inbound message, header field(s) of the inbound message, and/or message body of the inbound message calls for the custom email handler 116 to generate content of a. corresponding outbound message from a template. In block 1204, a template identified by the rule is retrieved from a database of the custom email handler 116. In block 1206, one or more placeholders in the template are replaced with custom content extracted from the inbound message (e.g., identified through substring and/or regular expression matching). In block 1206, placeholders in the template are replaced by the content extracted from the inbound message. In block 1206, the template with customized content is inserted into the body of the outbound message.



FIGS. 12B and 12C illustrate an example implementation of the process of FIG. 12A. FIG. 12B shows an example “template 1” having placeholders “#greeting”, “#customtext”, and “#closing”. The template is stored to a database in custom email handler 116. FIG. 12C illustrates use of this template to generate an email message. As shown, the inbound message comprises the “#template1” custom processing command in its header fields and content for the “#greeting” “#customtext” and “closing” placeholders in its body. Processing per FIG. 12A results in the body 12C being populated with the contents of the template with the placeholders replaced with the text in the inbound message. In this manner, the sender has to type very little into the message (ideal if sending from a smartphone, for example) and the result is a lengthy, well-formatted email message according to a previously defined and approved template.



FIGS. 13A-13C illustrate handling of email messages with blind carbon copy recipients, in accordance with an example implementation of this disclosure. For email messages to multiple recipients (particularly if those recipients are at different domains), and for messages having bee recipients, a sender MTA may send multiple copies of the same email message (e.g., one copy to each domain present in the list of recipients) to the custom email handler 116. Accordingly, the custom email handler 116 may receive multiple copies of the same email message, but with different envelopes. The process of FIG. 13A illustrates an example process for reconciling these multiple copies before exporting data about the email message to one or more third-party databases. In block 1302, the custom email handler 116 receives a first copy of a particular message. In block 1304, a data export timer starts counting. In block 1306, data extracted from and/or metadata generated about the particular message is stored to one or more records in one or more databases of the custom email handler 116. As show by blocks 1308 and 1310 the custom email handler 116 monitors for additional copies of the same particular message until the export timer reaches a predetermined time (e.g., 10 minutes). Each time another copy of the same particular message is received, the database records are updated (block 1306). When the timer expires, the process advances to block 1312 and the data and/or metadata stored in block 1306 is exported to one or more third party databases (e.g., a customer relationship management database of a company associated with the domain from which the particular message originated). In this manner, redundant exports of data and/or exports of incomplete data are reduced.


For example, referring to FIGS. 13B-13C, a message has the following recipients in its header fields 1320: to: B@X.com C@X.com; cc:D@Y.com, E@Y.com; bcc:F@Z.com, G@Z.com. The sender MTA 1101 sends accordingly sends this to the custom email handler 116 four times. The first message 1352 is destined for “to:” and “cc:” recipients in domain Y.com, as shown in its envelope 1360. The second message 1354 is destined for “to:” and “cc:” recipients in domain Z.com, as shown in its envelope 1360. It should be noted that the headers of the messages 1352 and 1354 do not show the “bcc:” recipients (as is the point of the “bcc:” header). The second message contains the same information as the first message and thus there may be nothing to update in the database(s). The third message 1356 provides the additional information that the message 1302 was sent “bcc:” to F@Z.com. Similarly, the fourth email message 1358 provides the additional information of that message 1302 was sent “bee:” to G@Z.com. After receiving all four of the messages, the custom email handler 116 knows all the recipients of the message 1302. Accordingly, if all four are received before the export tinier expires, only one export to ant particular third-party database will be needed to ensure the third party database has the full recipient information for message 1302.



FIG. 14A illustrates a third example flow of an email message through the network of FIG. 1. In FIG. 14A, MUA 1141 sends (represented by arrow 1402) an email message to sender MTA 1101. For purposes of illustration it is assumed the email message is from A@X.com to B@Y.com. MTA 1101 determines that the message is to be processed by custom email handler 116 (e.g., because the owner of X.com is a customer of the operator of the custom email handler and has instructed sender MTA 1101 to do as much). The message is thus sent (represented by arrow 1404) to custom email handler 116. The custom email handler 116 performs custom processing of the message for X.com and then sends it (represented by arrow 1406) to MTA 1101. MTA 1101 then sends (represented by the message to MTA 1102. MTA 1102 determines that the message is to be processed by custom email handler 116 (e.g., because the owner of Y.com, is a customer of the operator of the custom email handler and has instructed MTA 1101 to do as much). The message is therefore sent (represented by arrow 1410) to custom email handler 116. The custom email handler 116 performs custom processing of the message for Y.com and then sends it (represented by arrow 1412) to MTA 1102. MTA 1102 then sends (represented by arrow 1414) the message to MUA 1142.


One nuance of the flow of FIG. 14A is that the custom email handler 116 must be able to distinguish the customer(s) for which it has already processed the message from the customer(s) for which it has not yet processed the message. Otherwise, upon receiving the message from MTA 1102, it may incorrectly determine the email message has already been processed and thus not perform the custom processing requested by Y.com. Furthermore, the custom email handler 116 must be able to distinguish between valid email messages sent by its customers and “spoofed” email messages. In the example implementation of FIG. 14B, this is achieved through header fields added by the MTAs and the custom email handler. As shown by messages 1404 and 1410 in FIG. 14B, when sending a message to the custom email handler 116, each MTh adds a header comprising its customerID and a security key. The customerID may, for example, be a unique string of characters fixed for each customer and the security key may, for example, be a unique string of characters that can be changed occasionally/periodically/etc. As shown by messages 1406, 1408, and 1412, once the custom email handler 116 completes custom processing of a message for a particular client, it adds a header field indicating as much.


In accordance with an example implementation of this disclosure, an email message is received, via network interface circuitry (e.g., 106) of a custom email handler (e.g., 116) using the simple mail transfer protocol (SMTP), after the email message has already visited a sender mail transfer agent (MTA) (e.g., 1101). The in-line email processing circuitry of the custom email handler searches a subject header field of the email message and/or a message body of the email message for one or more character strings matching any of a predefined set of custom email processing commands. The search may be triggered and performed automatically without user intervention) based. on predefined instructions/rules e.g., based on finding the custom processing command in the email message). In response to finding one of the predefined set of custom email processing commands during the search, the in-line email processing circuitry modifies the message body of the email message in accordance with one or more rules associated with the one of the predefined set of custom email processing commands. The modifying may be triggered and performed automatically (without user intervention) based on predefined instructions/rules (e.g., based on finding the custom processing command in the email message). The in-line processing circuity removes the one of the predefined set of custom email processing commands from the subject header field of the email message and/or the message body of the email message. The removal may be triggered and performed automatically (without user intervention) based on predefined instructions/rules (e.g., based on finding the custom processing command in the email message). After the modification of the message body and the removal of the found one of the custom processing commands, the email message is sent, via the network interface circuity, into a network destined for a recipient mail transfer agent (e.g., 1102). The sending may be triggered and performed automatically (without user intervention) based on predefined instructions/rules e.g., based on finding the custom processing command in the email message).


In accordance with an example implementation of this disclosure, the custom email handler may comprise web server circuitry (e.g., 120), which may receive a request containing a URL previously inserted into an email message by the in-line processing circuitry. In response to the receiving the request, the custom email handler may determine whether to send a notification of the request to a sender of the email message (e.g., to A@X.com in the example of FIG. 2A) based on whether the email message contained a particular one of the predefined set of custom processing commands (e.g., whether it contained “#notify” or “#nonotify”). The determination of whether to send a request, and sending of the request (if determined to do so) may be triggered and performed automatically (without user intervention) based on predefined instructions/rules.


In accordance with an example implementation of this disclosure, the in-line email processing circuitry may generate a first uniform resource locator (URL) based on content of the email message. The in-line email processing circuitry may search for and detect, in the body of the message, a second uniform resource locator (URL) that one or both: contains a substring of a set of predefined substrings associated, in a database of the custom email handler, with the one of the predefined set of custom email processing commands; and matches a regular expression of a set of predefined regular expressions associated, in the database of the custom email handler, with the one of the predefined set of custom email processing commands. The modification of the message body of the email message may comprise replacing, in the body of the message, the second URL with the first URL The generation of the first URL and the search may be triggered and performed automatically (without user intervention) based on predefined instructions/rules. Background processing circuitry of the custom email handler may download content pointed to by the first. URL to storage of the custom email handler, Wherein the first URI, points to the downloaded content in storage of the custom email handler. The downloading may be triggered and performed automatically (without user intervention) based on predefined instructions/rules.


In accordance with an example implementation of this disclosure, the in-line email processing circuitry may search a subject header field of the email message and/or a message body of the email message for a character string containing one or more characters that indicates that the character string is for populating a placeholder in the message template. The searching may be triggered and performed automatically (without user intervention) based on predefined instructions/rules.


In accordance with an example implementation of this disclosure, the in-line email processing circuitry may detect whether the email message comprises an attachment, and in response to the detecting that the email message comprises an attachment: store the attachment to storage of the custom email handler, and generate a uniform resource locator (URL) that points to the attachment stored in the storage of the custom email handler. The detection, storing, and generating may be triggered and performed automatically (without user intervention) based on predefined instructions/rules. The modifying the message body of the email message may comprise removing the attachment from the email message, and inserting a hypertext markup language (HTML) element containing the URL into the message body of the email message.


In accordance with an example implementation of this disclosure, the email message is associated with a uniform resource locator, and the in-line email processing circuitry may perform, in response to the finding of the one of the predefined custom processing commands, one or more of: altering accessibility of content associated with the URL; deleting the content associated with the URL; and associating the URL with content not previously associated with the URL. The atering, deleting, or associating may be triggered and performed automatically (without user intervention) based on predefined instructions/rules.


In accordance with an example implementation of this disclosure, the in-line email processing circuitry may retrieve from storage (e.g., 108) of the custom email handler, a file identified in the subject header field of the email message and/or the message body of the email message. The retrieving may be triggered and performed automatically (without user intervention) based on predefined instructions/rules. The modifying the message body of the email message may comprises attaching the file to the email message.


In accordance with an example implementation of this disclosure, the in-line email processing circuitry may locate, in storage of the custom email handler, a file identified in the subject header field of the email message and/or the message body of the. email message. The in-line email processing circuitry may generate a uniform resource locator (URL) that points to the file in the storage of the custom email handler. The locating of the file and generating of the URL may be triggered and performed automatically (without user intervention) based on predefined instructions/rules. The modifying the message body of the email message may comprises inserting, in the message body of the email message, a hypertext markup language (HTML) element containing the URL.


In accordance with an example implementation of this disclosure, the in-line email processing circuitry may, in response to the finding the one of the predefined set of custom email processing commands during the searching, add one or more message header fields to the email message, wherein the one or more message header fields indicate: the email message has been processed by the custom email handler, and an identifier of a sender for which the email has been processed by the custom email handler. The adding of the header field(s) may be triggered and performed automatically (without user intervention) based on predefined instructions/rules.



FIG. 15 is a flowchart illustrating an example process for managing access to network resources based on information determined about user devices via notification objects embedded in email messages. In the process of FIG. 15, it is assumed for clarity of description that the entail handler 116 handles email for a particular company (or any other type of entity) with email addresses of the format <id>@companydomain.com.


The process begins with block 1502 in which the email handler 116 sends email messages with embedded notification objects to one or more @companydomain.com email addresses. A unique (with some determined probability) notification object is sent to each email address. The email messages may, for example, lie automatically sent periodically, or may be sent in response to a detection of some condition in the company's network (e.g., irregular patterns of access to a particular network resource such as a server or database).


In block 1504, requests for the object embedded in the email messages are received by web server 122 as the email recipients open the email messages. The requests include characteristics of the devices from which they originated. Note that this does not require the recipients to have any particular software installed on their devices other than whatever mail user agent they prefer (e.g., the default email clients on Android, Apple and Windows devices).


In block 1506 characteristics of the devices from which the email messages were opened are stored to database 124. Because each notification object was unique, the characteristics of the request are associated with the particular email address to which the notification object was sent.


In block 1508, a user's access to network resources is controlled based on the characteristics of the request associated with that user. For example, a request for the notification object associated with jane@companydomain.com may be received from a device that is outside of the country and company policy may be that access to the network resource from outside of the country is prohibited. Accordingly, in this example, the account associated with jane@companydomain.com on the network resource tray be set to disabled and jane@companydomain.com may be logged out of the network resource (e.g., her authorization cookies are revoked).



FIG. 16 is a flowchart illustrating an example process for managing access to network resources based on information determined about user devices via notification objects embedded in email messages. In the process of FIG. 16, it is assumed for clarity of description that the email handler 116 handles email for a particular company (or any other type of entity) with email addresses of the type <id>@companydomain.com.


The process begins in block 1602 in which a device attempts to access a network resource using an account associated with jane@companydomain.com. For example, a user attempts to login to an employee portal on the companydomaincom website. Or, as another example, a user on the companydomain.com website triggers a password reset far user jane@companydomain.com.


In block 1604 email handler 116 sends an email message having a unique (to some determined probability) notification object embedded in it to jane@companydomain.com. The email message may include a password reset link, for example.


In block 1606, the email handler determines whether the email was opened within a permissible timeframe (e.g., 5 minutes or any other value determined by company policy). This is determined based on how long it takes for a request for the notification object to be received by web server 122. Characteristics (e.g., make/model/type, software installed, IP address, location, etc.) of the device on which the email was opened are determined from the request. If the email is not opened within the permissible timeframe, then in block 1612 the device may be denied access to secure network resources or may be required to pass additional security hurdles before being permitted to access secure network resources.


Returning to block 1606, if the email is opened within the permissible time limit, then the process advances to block 1608.


In block 1608, the email handler determines whether the characteristics of the device on which the email was opened meet certain requirements. For example, whether the device is within a particular range of IP addresses, whether the device is in a particular location, whether the device is of a certain type, and/or whether the device has certain software installed. As one example of how this may be used, the email handler 116 may, over time, collect information about the devices that jane@companydomain.com typically uses when and where she typically opens her email messages, etc. If the characteristics of the email open and the device on which the email was opened fall within what is considered to be her normal behavior (e.g., a location from Which she often opens an email, a device from which she often opens email, etc.), then in block 1610 access to the network by the device may be permitted. For example, a password reset may be carried out from the device, a login to restricted company resources may be permitted from the device, etc.


Returning to block 1608, if the characteristics of the email open and the device on which the email was opened do not fall within what is determined to be her normal behavior (e.g., a location from which she has never opened an email, a device from which she has never opened an email, etc.), then in block 1612 the device may be denied access to secure network resources or may be required to pass additional security hurdles before being permitted to access secure network resources.


In accordance with an example implementation of this disclosure, an email handler (e.g., 116) comprises email processing circuitry (e.g., 118 and/or 120), a web server (e.g., 122), and a database (e.g., 124). The email processing circuitry is operable to generate a uniform resource locator for a notification object to be embedded in an email message. The email processing circuitry is operable to embed the notification object in the email message (e.g., as shown in message body 624 of FIG. 6B). The email processing circuitry is operable to send the email message into a network. The web server is operable to receive a request sent to the uniform resource locator by a client device (e.g., laptop, desktop, tablet, smartphone, etc.). The web server is operable to determine Characteristics of the client device based on content of the request. The web server is operable to store the characteristics in the database. The web server is operable to control access to content by the client device based on characteristics of the client device stored in the database. The characteristics of the client device may include, as examples, its location, its IP address, its mail user agent, how many requests it has sent to the IP address mapped to by the uniform resource locator, email recipients associated (e.g., in the database 124) with the client device (e.g., which email recipients were associated with past email messages opened on the client device), and/or email senders associated with the client deuce (e.g., which email senders were associated past email messages opened on the client device). The email handler may be operable to determine a particular email recipient's typical email behavior (e.g., when and where emails sent to the recipient have been opened, on what devices they have been opened, etc.) based on the characteristics stored in the database; and control network access by a device associated. with the email recipient based on the determined typical email behavior. The typical email behavior may include how many times and/or how frequently the email recipient opens emails from one or more particular locations. The typical email behavior may include how many times and/or how frequently the email recipient opens email messages from one or more particular client devices. The typical email behavior may include how many times and/or how frequently the email recipient opens email messages at particular times (time of day, time of week, or any other division of time). The typical email behavior includes other email senders and recipients with whom the particular email recipient exchanges email messages. The system of claim 1, wherein the email handler is operable to determine a particular email sender's typical email behavior (e.g., when and where entails sent by the sender have been opened, on what devices they have been opened, etc.) based on the characteristics stored in the database; and control network access by a device associated with the email sender (e.g., a device from which the sender has opened emails, a device from which someone is attempting to access network resources using the senders credentials, car some other association) based on the determined typical patterns of email behavior. The typical email behavior may include how many times and/or how frequently email messages from the email sender are opened emails from one or more particular locations, how many times and/or how frequently email messages the email sender are opened from one or more particular client devices, how many times and/or how frequently email messages from the email sender are opened at particular times, and/or other email senders and recipients with whom the particular email recipient has exchanged email messages. The email message may be sent to a particular email address, and the email handler may be operable to control access to the content by causing a user associated with the particular email address to be logged out of a network system if the characteristics of the client device do not meet determined requirements (e.g., not on a permissible IP address, not the type of device the user typically uses, the device does or does not have particular software installed, etc.). The email message may be a password reset email and the recipient may be permitted to reset the password only if the characteristics of the client device meet determined requirements. The email message may be a password reset email and the recipient may be permitted to reset the password only if the time of the request and location from which the request originated meet determined requirements (e.g., within a certain amount of time and within a certain geographic region).


As utilized herein the terms “circuits” and “circuitry” refer to physical electronic components (i.e., hardware) and an software and/or firmware (“code”) which. may configure the hardware, be executed by the hardware, and or otherwise be associated with the hardware. As used herein, for example, a particular processor and memos may comprise a first “circuit” when executing a first one or more lines of code and may comprise a second “circuit” when executing a second one or more lines of code. As utilized herein, “and/or” means any one or more of the items in the list joined by “and/or”. As an example, “x and/or y” means any element of the three-element set {(x), (y), (x, y)}. In other words, “x and/or y” means “one or both of x and y”. As another example, “x, y, and/or z” means any element of the seven-element set {(x), (y), (z), y), (x, z), (y, z), (x y, z)}. As utilized herein, the term “exemplary” means serving as a non-limiting example, instance, or illustration. As utilized herein, the terms “e.g.,” and “for example” set oil lists of one or more non-limiting examples, instances, or illustrations. As utilized herein, circuitry is “operable” to perform a function whenever the circuitry comprises the necessary hardware and code (if any is necessary) to perform the function, regardless of whether performance of the function is disabled or not enabled (e.g., by a user-configurable setting, factory trim, etc.).


The present method and/or system may be realized in hardware, software, or a combination of hardware and software. The present methods and/or systems may be realized in a centralized fashion in at least one computing system, or in a distributed fashion where different elements are spread across several interconnected computing systems. Any kind of computing system or other apparatus adapted for carrying out the methods described herein is suited. A typical combination of hardware and software may be a general-purpose computing system with a program or other code that, when being loaded and executed, controls the computing system such that it carries out the methods described herein. Another typical implementation may comprise an application specific integrated circuit or chip. Some implementations may comprise a non-transitory machine-readable (e.g., computer readable) medium (e.g., FLASH drive, optical disk, magnetic storage disk, or the like) having stored thereon one or more lines of code executable by a machine, thereby causing the machine to perform processes as described herein.


While the present method and/or system has been described with reference to certain implementations, it will be understood by those skilled in the art that various changes may be made and equivalents may be substituted without departing from the scope of the present method and/or system. In addition, many modifications may be made to adapt a particular situation or material to the teachings of the present disclosure without departing from its scope. Therefore, it is intended that the present method and/or system not be limited to the particular implementations disclosed, but that the present method and/or system will include all implementations falling within the scope of the appended claims.

Claims
  • 1. A system, comprising: an email handler comprises email processing circuitry, a web server, and a database, wherein:the email processing circuitry is operable to: 1) generate a unique uniform resource locator for a notification object to be embedded in an email message, the generated unique uniform resource locator comprising a hash with a value corresponding to a uniquely generated number or identifier; 2) embed the notification object in the email message; and 3) send the email message into a network; andthe web server is operable to: 1) receive a request sent to the uniform resource locator by a client device; 2) determine characteristics of the client device based on content of the request; 3) operable to store the characteristics in the database; and 4) control access to content by the client device based on characteristics of the client device stored in the database,wherein the notification object embedded in the email message is unique to each email address.
  • 2. The system of claim 1, wherein the email message handler is configured to determine whether the email was opened within a permissible timeframe.
  • 3. The system of claim 2, wherein the permissible timeframe is determined based on how long it takes for a request for the notification object to be received by the web server.
  • 4. The system of claim 2, wherein the permissible timeframe is approximately 5 minutes.
  • 5. The system of claim 1, wherein the web server determines whether the characteristics of the client device on which the email message was opened meet one or more predetermined requirements.
  • 6. The system of claim 5, wherein the characteristics are whether: the client device is within a particular range of IP addresses, the client device is in a particular location, the client device is of a certain make/model/type, or the client device has certain software installed.
  • 7. The system of claim 6, wherein, if one or more of the predetermined requirements are not met, the web server is configured to deny access to network resources or may be required to pass additional security hurdles before being permitted to access the network resources.
  • 8. The system of claim 1, wherein the email message includes a password reset link.
  • 9. The system of claim 8, wherein the password reset link resets the password if the link is accessed within a certain amount of time or within a certain geographical region.
  • 10. The system of claim 1, wherein the characteristics of the client device include email recipients associated with the client device.
  • 11. The system of claim 1, wherein the characteristics of the client device include email senders associated with the client device.
  • 12. The system of claim 1, wherein the email processing circuitry sends the email message periodically.
  • 13. The system of claim 1, wherein the email processing circuitry sends the email message in response to a detection of some condition in the network.
  • 14. The system of claim 1, wherein a condition includes an irregular pattern of access to a network resource comprising a server or a database.
  • 15. The system of claim 1, wherein characteristics of the request are associated with the email message to which the unique notification object is sent.
Parent Case Info

This application is a continuation of U.S. patent application Ser. No. 16/150,694 filed Oct. 3, 2018, which is a continuation-in-part of U.S. patent application Ser. No. 15/849,806 filed Dec. 21, 2017 now U.S. Pat. No. 10,326,723), which is a continuation of U.S. patent application Ser. No. 15/378,259 filed Dec. 14, 2016 (now U.S. Pat. No. 9,860,202), which is a continuation of U.S. patent application Ser. No. 14/992,194 filed Jan. 11, 2016 (now U.S. Pat. No. 9,559,997). U.S. patent application Ser. No. 16/150,694 is also a continuation-in-part of U.S. patent application Ser. No. 15/613,343 filed on Jun. 7, 2017 know U.S. Pat. No. 10,187,342), which is a continuation of U.S. patent application Ser. No. 15/285,797 filed on Oct. 5, 2016 (now U.S. Pat. No. 9,674,129). U.S. patent application Ser. No. 16/150,694 is also a continuation-in-part of U.S. patent application Ser. No. 15/824,100 filed Nov. 28, 2017, which claims priority to U.S. provisional application 62/442,165 filed on Jan. 4, 2017. U.S. patent application Ser. No. 16/150,694 is also a continuation-in-part of U.S. patent application Ser. No. 15/810,695 filed Nov. 13, 2017 (now U.S. Pat. No. 10,096,001), which is a continuation of U.S. patent application Ser. No. 15/670,169 filed Aug. 7, 2017 (now U.S. Pat. No. 9,824,332), which claims priority to U.S. provisional application 62/484,444 filed Apr. 12, 2017. Each of the above referenced documents is hereby incorporated herein by reference in its entirety.

US Referenced Citations (94)
Number Name Date Kind
5771355 Kuzma Jun 1998 A
5781901 Kuzma Jul 1998 A
5903723 Beck May 1999 A
6073166 Forsen Jun 2000 A
6275850 Beyda Aug 2001 B1
6430624 Jamtgaard Aug 2002 B1
6493751 Tate Dec 2002 B1
6505237 Beyda Jan 2003 B2
6618747 Flynn Sep 2003 B1
6871236 Fishman Mar 2005 B2
6889195 Strandberg May 2005 B2
6978276 Demsky Dec 2005 B2
7007066 Malik Feb 2006 B1
7025209 Hawkins Apr 2006 B2
7035902 Bates Apr 2006 B1
7054905 Hanna May 2006 B1
7092993 Goldberg Aug 2006 B2
7113948 Jhingan Sep 2006 B2
7146402 Kucherawy Dec 2006 B2
7257639 Li Aug 2007 B1
7305430 Choubey Dec 2007 B2
7353536 Morris Apr 2008 B1
7403983 Ueno Jul 2008 B2
7421514 Lee Sep 2008 B2
7730140 Braun Jun 2010 B2
7831669 Braun Nov 2010 B2
8180833 Braun May 2012 B2
8180834 Kay May 2012 B2
8209222 Esclamada Jun 2012 B2
8407292 Grosu Mar 2013 B2
8458269 Friedman Jun 2013 B2
8544090 Chen Sep 2013 B1
8621581 Goyal Dec 2013 B2
8826432 Dabbiere Sep 2014 B2
8850524 Morris Sep 2014 B2
9027037 Sato May 2015 B2
9047459 Lu Jun 2015 B2
9137185 Costenaro Sep 2015 B2
9165285 Schultz Oct 2015 B2
9203650 Malcolm Dec 2015 B2
9203849 Hunt Dec 2015 B2
9225704 Johansson Dec 2015 B1
9246912 Alexander Jan 2016 B2
9276862 Presta Mar 2016 B1
9355233 Chen May 2016 B1
9355244 Liu May 2016 B2
9374369 Mahaffey Jun 2016 B2
9559997 Everton Jan 2017 B1
9576154 Ramesh Feb 2017 B2
9602540 Johansson Mar 2017 B1
9654431 Johansson May 2017 B1
9661105 Sharma May 2017 B2
9674129 Everton Jun 2017 B1
9710814 Gorny Jul 2017 B2
9824332 Everton Nov 2017 B1
9860202 Everton Jan 2018 B1
9860203 Valla Jan 2018 B2
10049207 Ramesh Aug 2018 B2
10096001 Everton Oct 2018 B1
10187342 Everton Jan 2019 B2
10298565 Zhang May 2019 B2
10326723 Everton Jun 2019 B2
10410218 Gorny Sep 2019 B2
10841262 Everton Nov 2020 B2
20010054073 Ruppert Dec 2001 A1
20020091538 Schwartz Jul 2002 A1
20030014671 Henson Jan 2003 A1
20030055867 King Mar 2003 A1
20030115273 Delia Jun 2003 A1
20040006598 Bargagli Damm Jan 2004 A1
20050193075 Haff Sep 2005 A1
20050278231 Teeter Dec 2005 A1
20060031309 Luoffo Feb 2006 A1
20060031352 Marston Feb 2006 A1
20060168012 Rose Jul 2006 A1
20070180035 Liu Aug 2007 A1
20080028028 Chismark Jan 2008 A1
20080168146 Fletcher Jul 2008 A1
20080244021 Fang Oct 2008 A1
20090112995 Addae Apr 2009 A1
20090313342 Thie Dec 2009 A1
20100011077 Shkolnikov Jan 2010 A1
20110296003 McCann Dec 2011 A1
20120296988 Rao Nov 2012 A1
20130086186 Tomkow Apr 2013 A1
20130205022 Kagan Aug 2013 A1
20150058429 Liu Feb 2015 A1
20170063764 Lindley Mar 2017 A1
20170187701 Bonnell Jun 2017 A1
20170345003 Spears Nov 2017 A1
20190036859 Everton et al. Jan 2019 A1
20190279222 Gorny Sep 2019 A1
20190325130 Jayaraman Oct 2019 A1
20190392454 Gorny Dec 2019 A1
Related Publications (1)
Number Date Country
20210036977 A1 Feb 2021 US
Provisional Applications (2)
Number Date Country
62484444 Apr 2017 US
62442165 Jan 2017 US
Continuations (7)
Number Date Country
Parent 16150694 Oct 2018 US
Child 17074499 US
Parent 15849806 Dec 2017 US
Child 16150694 US
Parent 15824100 Nov 2017 US
Child 15849806 US
Parent 15670169 Aug 2017 US
Child 15810695 US
Parent 15378259 Dec 2016 US
Child 15613343 US
Parent 15285797 Oct 2016 US
Child 15378259 US
Parent 14992194 Jan 2016 US
Child 15285797 US
Continuation in Parts (2)
Number Date Country
Parent 15810695 Nov 2017 US
Child 15824100 US
Parent 15613343 Jun 2017 US
Child 15670169 US