new 'success' template; fixed email template where title was incorrect; db connection string with variables