Use the following function:
APIWrapperInterface::subscribeNewsletter($email)
To subscribe to a newsletter, call this function with an email address.