Adding function to add button in gmail toolbar

the method api.tools.add_toolbar_button allows the user to add a customised button in Gmail toolbar