Thanks eCom. What I actually meant is using it outside of the form builder, building custom form based on the standard one (eg. sending to multiple mails, customizing auto-confirmation etc.)
I managed to re-use and modify the Mailer function in app/controllers/frontend to process all the fields apart of attachments.