elastic search and mail delivery