Outlook email automation is possible if we not installed the software if yes please explain the steps

If I choose the following option IMAP or exchange activities then Do we need to use Azure resource ?
If you have any sample video or document related to the same please share it.