I have my dropbox files in the /storage/emulated/0/cloudagent folder. Can I delete this directory from my phone? Will it affect my files in my dropbox? Thank you!
The cloudagent folder is used to sync imaged FROM your dropbox cloud account to your phone, so they are available in the image gallery.
If you are already syncing your phone to dropbox, then you will have 2 copies of each image on your phone - probably not what you meant.
You can delete the folder, but it will return later. You first need to disable cloud syncing - it is in settings -> cloud -> images (or something similar). Then you can delete the folder.