Small fix
Write emails to csv