With a Mendix document template you can create a PDF document: https://docs.mendix.com/refguide/document-templates#1-introduction
Then with the Email module from the appstore you can attach the generated pdf document to the email: https://appstore.home.mendix.com/link/app/259/
For Whatsapp you can use their business API or use a third party tool like Sinch or Twillio