update docs
update todo
add email options to publish and register
update docs