Added offset variable to gmail authentication plugin