(bug 5147) Migrate opt_getselfemail to ESN.

Clean up stray debugging code