The delivery subsystem uses specific actions. They can be called at any vSMTP stages.
The incoming mail traffic can locally be delivered using :
☢ | The Local Mail Transfer Protocol (LMTP) is currently not implemented.
vSMTP uses a well known and secured third-party software Lettre also written in Rust.
Check out the Delivery module documentation.