I would like to create a button in Coda that can let the user of the button write a customized message to a specific user (myself, the owner/admin of the Coda page) and be able to attach a file to the message as well. Is this possible?
Hello @Elaina_Kreher ,
You can make a button that opens a modal (a window to a new row of a table you make for this purpose). On the modal you can have a field for the message, a file field and some buttons (like cancel or send). You can send an email to any preselected person (like yourself) by using the gmail pack. Coda does not allow you to add files to the gmail, but you can include a link to the file, which will allow the recipient of the mail to download this file - or open it from the table that will hold your messages.
If you want to work without email, you can pretty much do the same thing. Upon the creation of a new message (actually a new row in the message table) you can send yourself a notification that a new message has been posted. You can read the message and look at the attached file (if any) by going to this table.
Depending on the confidentiality of the messages you might want to place this table on a hidden page of your document - but keep in mind that hidden pages are not a security feature - so for real confidential stuff this might not be the way to go.