How to write all numbers retrieved from mail body into a text file/save all numbers into a variable?

@anjasing - Are these connected in any way??