title: Send a mail on every chat message
body: <p>I am currently using pubnub chat in one of the my application. And now I want to add functionalities like on each and every chat message I want to send mail,same as upwork website is doing.</p>
  
  <p>For the same I have contacted pubnub support but they are not providing any such feature, So I need to send mails from my end, mostly by calling ajax and send mail from php.</p>
  
  <p>But the major issue here is as its chat feature may I need to send number of mails (mass mail) in very short time. So my server doesn't supports it.</p>
  
  <p>So how to implement mass mailing.</p>