Batch / programatic email sending

Hello,

Is it possible to send many emails at once with a template? I.e. is it possible to select a template and send it to a list of addresses / variables maybe specified in a csv?

Or alternatively is it possible to do so using a programing language?

Best