Wildcard for emailing jpegs

Hi All I uses doods and store the images in the Media folder.
using:
- /media/front/photo/front_latest.jpg
- /media/front/photo/{{ camera_entity.split('.')[1] }}_{{now().strftime('%Y%m%d_%H%M%S')}}.jpg

then I use a script to email the latest jpg

service: notify.hassio_front_cam
data:
title: Front Cam
message: Someone is on the Drive
data:
images:
- /media/front/photo/front_latest.jpg``

This works well, what I would like to do is send all for the jpegs that are in the folder then I will delete the files , I have tried *.jpeg as a wildcard but it doesnt work, can this be done

Regards Garry