Heating elements for coffee machines