send emails - not quite done