CCAvenue Fix: Order status not getting updated to processing after success

Apparently, sending the new order email BEFORE changing the state and status of the order
to processing, solves the issue.