title: how to disable order confirmation mail in a prestashop module?
body: <p>i want to create a payment module in prestashop and i would like to disable order confirmation mail when a customer validates his order. 
  i have tried to override the Mail class but it affects the other mail sending. i do not know which file to override and  how to do it.
  i saw somewhere we can also override PaymentModule but i don't know how to do it</p>
  
  <p><a href="https://i.stack.imgur.com/2LTDB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2LTDB.png" alt="enter image description here"></a></p>