Patent ID: 7689606

Claim:
A method of efficiently generating and sending emails, comprising: creating an email template; setting up a campaign query; distributing the email template and a set of information associated with the campaign query to a plurality of server groups; running the campaign query on each of the plurality of server groups and obtaining a plurality of matching users on each of the plurality of server groups; dividing the plurality of matching users on each of the plurality of server groups into one or more batches; merging the email template with a set of information corresponding to each of the plurality of matching users from a first batch to generate a first batch of merged emails for each of the plurality of server groups; sending the first batch of the merged emails directly from each of the plurality of server groups without saving copies of the merged emails; merging the email template with a set of information corresponding to each of the plurality of matching users from a second batch to generate a second batch of merged emails for each of the plurality of server groups, after an occurrence of at least one of a hardware failure or a software failure during the sending of the merged emails in the first batch, and wherein the merged emails in the first batch that were not sent prior to the hardware failure or software failure are not identified and not sent; and sending the second batch of the merged emails directly from each of the plurality of server groups without saving copies of the merged e-mails.