Tracking user contact form submissions
What you could try is:

use hook_mail_alter() to check when mails have been send and store the information you need in a special table of your own module. Maybe the information in the $message is enough for you. If not you could try:

hook_fom_alter() to add an extra submit-handler to the contact form like this:

$form['#submit'][] = 'my_custom_submit_handler';


Inside my_custom_submit_handler($form, &amp;$form_state) you should have full access to the form fields and store everything you need like you want to.