@public<EOL>def lookup_email(args):
email = args.email<EOL>if email is None:<EOL><INDENT>email = gituseremail()<EOL><DEDENT>if email is None:<EOL><INDENT>raise RuntimeError(textwrap.dedent("""<STR_LIT>"""))<EOL><DEDENT>debug("<STR_LIT>".format(email=email))<EOL>return email<EOL>
Return the email address to use when creating git objects or exit
    program.

    Parameters
    ----------
    args: parser.parse_args()

    Returns
    -------
    email : `string`
        git user email address