credentials = get_credentials()
client = gdata.apps.emailsettings.client.EmailSettingsClient(domain=
    'yourdomain.com')
client.auth_token = gdata.gauth.OAuth2TokenFromCredentials(credentials)
val = client.RetrieveSignature(username='yourusername')
How do you change signatures using python gmail api?