BAM for email confirmation of customer shipments v8

Does anyone have a BAM that they have written in order for the system
to fire off an email to a customore when their shipment is processed
and that they would not mind sharing?
Thanks
Carey