Refactor std.email action in examples

Related to https://review.openstack.org/#/c/134488/

Change-Id: If4c1f9e86cefcce4a918175fb1eb146d8cd8d361