Tab to spaces issue and some autoindent issue were fixed.
Fixed email issue