I have built a sort of marketplace platform based on WordPress and I would like to build a few email-related functionalities to keep the platform easier to use and make it cleaner.
Examples of this are sending the user an email 30 days after they posted a listing and asking them whether it is still current (and giving the option to click a link to delete it if not) or offering a yes/no mechanism (i.e. I already have a mechanism that uses
wp_mail() to let a user know that someone else is interested in their listing and send that user's details, so I'd like to add two links to that email that have WordPress send a confirmation or rejection notice to the user that triggered the original email).
I spend quite some time googling and didn't find any information on this.
For deleting posts it'd be pretty easy to put in a
get_delete_post_link() to the email, but I'm not sure how to pass the
$post_ID and how to have the thing be sent out 30 days later.
Are such things possible with just WordPress or would I need to add an email system to it in order to work?