Gravar-mail: The chemical evolution of gas-rich dwarf galaxies