send method now supports MIME type and charset options