After the great suggestions I received yesterday, i'm back again, asking for more .
I have close to 8-10 lines of code performing an operation, id like to know, if there is a more compact way to do this.
# Removes the first line which is a message
# Removes the empty lines in the file
# Removes the last part of each line and adds a URL to the end
# Adds the first word of each line to the end of the line as well
# Send a mail to the user