prepare an attachements array that can be used with nodemailer
path to a field or an aggregation relation
row for which the email should be send
user sending it, or { role_id: 100 }
prepare an attachements array that can be used with nodemailer