Nah, it was all custom code.
No docs available.
Only docs available is to fetch mails rest it’s upto you