Rename email testing output, use current app for referral emails.