Here is a simple module that automatically creates shipment when an invoice is created and emails it to the customer.