[backends/gmail] Fix resolution order for multiple inheritance.