bugfix: email notification for past bookings confirmation email
improved: code clean up