This is a nice addition. It can now be reused in https://github.com/mozilla/gaia-ui-tests/blob/master/gaiatest/tests/email/test_setup_active_sync_email.py. Could you please replace all the individual steps in that test with a call to this method as part of this pull request?