I have made a script, which uses a rtf-file as a mail body. For that, I uses NSSharingService’s. But, since I have multiple mail accounts, I want to change the sender of the mail depending on which file I use. For that, I use System Events. Now the problem is that the first time, the script works as a charm. But, the second time I perform the script, I get the error: