Saving iPad Documents to Dropbox
Get the script for yourself after the break.
Copy the script below into your applescript editor. This application is located in the utilities folder inside you application folder. Remember to replace the red text below with the path to the folder where you would like the files saved. You can also download a copy of a completed script here.
using terms from application "Mail"
on perform mail action with messages theMessages for rule theRule
tell application "Mail"
repeat with oneMessage in theMessages
set {mail attachment:theAttachments} to oneMessage
repeat with oneAttachment in mail attachments of oneMessage
save oneAttachment in ("iMac HD:Users:jordanpatterson:Dropbox:Documents:Uploads:") & (name of oneAttachment)
end repeat
end repeat
end tell
end perform mail action with messages
end using terms from

Great homepage!
I cant get it to work, could it be that im running "mail" in swedish so it conflict with the script? Sorry for my bad english...