Fixed minor bugs in orders messages
Fixed html email procedure