I want to do a script on my os x sierra which copy the "Copy Dropbox Link" of a file in a new apple mail from the default mail account. Also, in the file name there is an email address - this email address should be placed automaticaly in the "TO" field in apple mail.
I am not sure which programming language I should take for that. The program is for mac users. Can you give me an advice so I can take the right direction / Dropbox API? I will self study the rest^^
It sounds like you're referring to the feature of the official Dropbox desktop client where you can right click on a file or folder and choose "Copy Dropbox Link" to get a shared link for that file or folder.
The Dropbox API doesn't offer a way to interact with the Dropbox desktop client itself, but you can use the Dropbox API to communicate with the Dropbox servers to get the same kind of shared link.
To create a shared link like that, you would call /2/sharing/create_shared_link_with_settings: