set emails as parameters