fixed bug in sorting by date in email script, added ability to send confirmation emails for extra shifts.