Index: update_advanced.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/update_advanced/update_advanced.module,v
retrieving revision 1.6
diff -u -p -r1.6 update_advanced.module
--- update_advanced.module	4 Oct 2009 02:15:48 -0000	1.6
+++ update_advanced.module	8 Dec 2010 22:11:51 -0000
@@ -76,6 +76,24 @@ function update_advanced_update_status_a
 }
 
 /**
+ * Implementation of hook_mail_alter().
+ *
+ * This function will be used to alter the status mail of the drupal update
+ * status and add the configured token.
+ *
+ * @param $message
+ *   Reference to the message that is about to be altered.
+ */
+function update_advanced_mail_alter(&$message) {
+  if ($message['id'] == 'update_status_notify') {
+    $param_list = explode("\n", variable_get('update_advanced_additional_mailtext',''));
+    foreach ($param_list as $param) {
+      array_push($message['body'], $param);
+    }
+  }
+}
+
+/**
  * Check if a project or a project's release has been set to be ignored.
  *
  * @param $project
Index: update_advanced.settings.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/update_advanced/update_advanced.settings.inc,v
retrieving revision 1.6
diff -u -p -r1.6 update_advanced.settings.inc
--- update_advanced.settings.inc	29 Sep 2009 18:13:25 -0000	1.6
+++ update_advanced.settings.inc	8 Dec 2010 22:11:51 -0000
@@ -16,6 +16,13 @@ function _update_advanced_alter_settings
     '#default_value' => variable_get('update_advanced_check_disabled', FALSE),
   );
 
+  $form['update_advanced_additional_mailtext'] = array(
+    '#type' => 'textarea',
+    '#title' => t('Additional text added to the status mail'),
+    '#default_value' => variable_get('update_advanced_additional_mailtext', ''),
+    '#description' => t('This text will be added to the status mail that you receive upon new available module versions. You could easily add information regarding your Drupal site. This might be interesting if you automatically process these mails by a project management tool like Open Atrium or Redmine.'),
+  );
+
   if ($available = update_get_available(TRUE)) {
     drupal_add_css(drupal_get_path('module', 'update_advanced') . '/update_advanced.css');
 
@@ -78,6 +85,7 @@ function _update_advanced_alter_settings
 function theme_update_advanced_settings($form) {
   $output = '';
   $output .= drupal_render($form['update_notify_emails']);
+  $output .= drupal_render($form['update_advanced_additional_mailtext']);
   $output .= drupal_render($form['update_check_frequency']);
   $output .= drupal_render($form['update_notification_threshold']);
   $output .= drupal_render($form['update_advanced_check_disabled']);
