Correctly attach files when attach list is null. Fix HTML body extraction regex.