removed unused gAPI dependency in emails obj