Fixed a bug in the emails column fn