Converting mail to STMF

I’m working on a C application that will need to read notes DBs, including mail DBs. Before processing, I’ll need to convert any notes I find to STMF files (in memory would be perfect). Is there a method in the Lotus C API set that does this?