Make sure order confirmation email is sent only once