Hold the shift key down to move the screen focus so you can toss things farther.
To get back into the castle, you can also just run in. After you get stopped, click inside again immediately after the conversation ends; they will not be quick enough to stop you a second time.
There is a way to get the letter back;
Lost Items - guide and directory of inventory files