Sending email now works (added .metadata back)