Remove OC_Mail and adjust public API