Add support for the API's submitting ham and spam features.