[DF-616] improvements in mime helper and command