add_button() has 2 params the first is an array of properties for the rcmail_output_html::button() function and the second is the name of the container to put the button in.
supported 'type's in the first param are: image, link, input (depreciated), ant button (default). You also need a 'command' key and then whatever HTML attributes you want the element to have; id, class etc.