add gmail compatibility