FUCK YES. Managed to write new email addresses onto a new line. Had to use file.puts rather than file.write