EOS email function