Answers.Body: <p>You should try to clear CiviCRM's cache as mentioned in <a href="https://docs.civicrm.org/civirules/en/latest/create-your-own-action/" rel="nofollow noreferrer">CiviRules' documentation</a> :</p>
  
  <blockquote>
    <p>If you add your action as a a managed entity (which we think is a good idea) you will obviously have to do a {yoursite}/civicrm/clearcache to make sure the new managed entity is available.</p>
  </blockquote>
  
  <p>Cheers,
  Olivier;</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-01-06T05:20:58.807Z
Answers.Text: I've tried that, but still no luck.
Answers.UserDisplayName: Lars SG
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-01-05T23:52:03.500Z
Answers.LastActivityDate: 2018-01-05T23:52:03.500Z
Answers.UserDisplayName: Olivier Tétard
Answers.Body: <p>I encountered the same issue a month ago. After installing both the E-MAIL API and CiviRules I wasn't able to select send email rule, but I could send emails through the API explorer. </p>
  
  <p>In other words everything was working only I wasn't able to select send email action when I defined rules. It turned out that a row was missing from the civirule_action table of the CiviCRM database. </p>
  
  <p>I fixed the issue by adding the missing row (copied over from the CiviCRM instance with working CiviRules) with name emailapi_send
  label Send e-mail and class CRM_Emailapi_CivirulesAction. </p>
  
  <p>The table that works should look like this:</p>
  
  <p><a href="https://i.sstatic.net/omJYB.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/omJYB.png" alt="enter image description here"></a></p>
  
  <p>I don't know what caused it, but I suspect the issue arose because CiviRules and E-MAIL API extensions were uninstalled and then installed again couple of times trying to resolve an unrelated issue. I was using the newest CiviCRM version at the time (4.7.27)</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-01-06T19:50:30.210Z
Answers.LastActivityDate: 2018-01-06T19:50:30.210Z
Answers.UserDisplayName: Marko
Answers.Body: <p>Ok, so did a combination of the above to fix this on WordPress install:</p>
  
  <p>Added the SQL statement manually:</p>
  
  <pre><code>INSERT INTO civirule_action (name, label, class_name, is_active)
  VALUES('emailapi_send', 'Send E-mail', 'CRM_Emailapi_CivirulesAction', 1);
  </code></pre>
  
  <p>Deleted the plugin, manually added the v1.11, refreshed cache and it installed properly.  After I was able to execute the v1.7 upgrade and complete the database update.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-07-07T13:54:04.400Z
Answers.LastActivityDate: 2018-07-07T13:54:04.400Z
Answers.UserDisplayName: Anil
Answers.Body: <p>Updating <a href="https://github.com/CiviCooP/org.civicoop.emailapi" rel="nofollow noreferrer">https://github.com/CiviCooP/org.civicoop.emailapi</a> to version 1.11 appears to have fixed this!</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-01-07T19:00:23.513Z
Answers.Text: Indeed, fixed in 1.11!
Answers.UserDisplayName: Lars SG
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-01-07T18:42:54.230Z
Answers.LastActivityDate: 2018-01-07T18:42:54.230Z
Answers.UserDisplayName: KarinG - Semper IT
Body: <p>I've installed the Email API for CiviRules, but nothing about emails is showing up under actions in CiviRules. Have tried uninstalling and reinstalling, but no change. Is there another step that I need to be taking to enable email sending?</p>
  
  <p>CiviCRM 4.6.33 on Drupal 7.56, CiviRules 1.15, Email API 1.10.</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-01-06T21:08:45.783Z
Comments.Text: Might be worth adding an issue to the [civirules github issue](https://github.com/CiviCooP/org.civicoop.civirules) that references this post
Comments.UserDisplayName: michaelmcandrew
Tags: <email><civirules>
Title: How to enable email sending in CiviRules
ThreadText: # How to enable email sending in CiviRules
  
  (Asked by: username_0 on 2018-01-05)
  
  I've installed the Email API for CiviRules, but nothing about emails is showing up under actions in CiviRules. Have tried uninstalling and reinstalling, but no change. Is there another step that I need to be taking to enable email sending?
  
  CiviCRM 4.6.33 on Drupal 7.56, CiviRules 1.15, Email API 1.10.
  
  **Tags:** email, civirules
  
  > **Comments:**
  > **username_1**: Might be worth adding an issue to the [civirules github issue](https://github.com/CiviCooP/org.civicoop.civirules) that references this post  
  
  ---
  
  ## 4 answers
  
  ### Answer by username_5 on 2018-01-07. Score: 3 | Accepted answer
  
  Updating <https://github.com/CiviCooP/org.civicoop.emailapi> to version 1.11 appears to have fixed this!
  
  > **Comments:**
  > **username_0**: Indeed, fixed in 1.11!  
  
  ---
  
  ### Answer by username_2 on 2018-01-05. Score: 3
  
  You should try to clear CiviCRM's cache as mentioned in [CiviRules' documentation](https://docs.civicrm.org/civirules/en/latest/create-your-own-action/) :
  
  > If you add your action as a a managed entity (which we think is a good idea) you will obviously have to do a {yoursite}/civicrm/clearcache to make sure the new managed entity is available.
  
  Cheers,
  Olivier;
  
  > **Comments:**
  > **username_0**: I've tried that, but still no luck.  
  
  ---
  
  ### Answer by username_3 on 2018-01-06. Score: 2
  
  I encountered the same issue a month ago. After installing both the E-MAIL API and CiviRules I wasn't able to select send email rule, but I could send emails through the API explorer.
  
  In other words everything was working only I wasn't able to select send email action when I defined rules. It turned out that a row was missing from the civirule\_action table of the CiviCRM database.
  
  I fixed the issue by adding the missing row (copied over from the CiviCRM instance with working CiviRules) with name emailapi\_send
  label Send e-mail and class CRM\_Emailapi\_CivirulesAction.
  
  The table that works should look like this:
  
  [![enter image description here](https://i.sstatic.net/omJYB.png)](https://i.sstatic.net/omJYB.png)
  
  I don't know what caused it, but I suspect the issue arose because CiviRules and E-MAIL API extensions were uninstalled and then installed again couple of times trying to resolve an unrelated issue. I was using the newest CiviCRM version at the time (4.7.27)
  
  
  ---
  
  ### Answer by username_4 on 2018-07-07. Score: 2
  
  Ok, so did a combination of the above to fix this on WordPress install:
  Added the SQL statement manually:
  INSERT INTO civirule_action (name, label, class_name, is_active)
  VALUES('emailapi_send', 'Send E-mail', 'CRM_Emailapi_CivirulesAction', 1);
  
  Deleted the plugin, manually added the v1.11, refreshed cache and it installed properly.  After I was able to execute the v1.7 upgrade and complete the database update.
  
  
  ---
  
  